C# Class Fusion.Core.Content.AssetStream

Inheritance: Stream
Afficher le fichier Open project: demiurghg/FusionEngine

Méthodes publiques

Méthode Description
Flush ( ) : void

Flushes underlaying streams.

OpenRead ( string path ) : AssetStream

Opens asset file for reading. Immidiatly reads asset attributes.

OpenWrite ( string fullTargetPath, string buildParameters, string dependencies ) : AssetStream

Opens asset file for writing.

Read ( byte buffer, int offset, int count ) : int

Reads byte array from stream.

Seek ( long offset, SeekOrigin origin ) : long

Overriden. Seek is not supported.

SetLength ( long value ) : void

Overriden. SetLength is not supported.

Write ( byte buffer, int offset, int count ) : void

Writes byte array to stream.

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
AssetStream ( string path ) : System

Opens asset stream for reading.

AssetStream ( string fullTargetPath, string buildParameters, string dependencies ) : System

Creates asset file for writing.

Method Details

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

Flush() public méthode

Flushes underlaying streams.
public Flush ( ) : void
Résultat void

OpenRead() public static méthode

Opens asset file for reading. Immidiatly reads asset attributes.
public static OpenRead ( string path ) : AssetStream
path string
Résultat AssetStream

OpenWrite() public static méthode

Opens asset file for writing.
public static OpenWrite ( string fullTargetPath, string buildParameters, string dependencies ) : AssetStream
fullTargetPath string
buildParameters string
dependencies string
Résultat AssetStream

Read() public méthode

Reads byte array from stream.
public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
Résultat int

Seek() public méthode

Overriden. Seek is not supported.
public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
Résultat long

SetLength() public méthode

Overriden. SetLength is not supported.
public SetLength ( long value ) : void
value long
Résultat void

Write() public méthode

Writes byte array to stream.
public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
Résultat void