C# 클래스 Fusion.Core.Content.AssetStream

상속: Stream
파일 보기 프로젝트 열기: demiurghg/FusionEngine

공개 메소드들

메소드 설명
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.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

비공개 메소드들

메소드 설명
AssetStream ( string path ) : System

Opens asset stream for reading.

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

Creates asset file for writing.

메소드 상세

Dispose() 보호된 메소드

protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

Flush() 공개 메소드

Flushes underlaying streams.
public Flush ( ) : void
리턴 void

OpenRead() 공개 정적인 메소드

Opens asset file for reading. Immidiatly reads asset attributes.
public static OpenRead ( string path ) : AssetStream
path string
리턴 AssetStream

OpenWrite() 공개 정적인 메소드

Opens asset file for writing.
public static OpenWrite ( string fullTargetPath, string buildParameters, string dependencies ) : AssetStream
fullTargetPath string
buildParameters string
dependencies string
리턴 AssetStream

Read() 공개 메소드

Reads byte array from stream.
public Read ( byte buffer, int offset, int count ) : int
buffer byte
offset int
count int
리턴 int

Seek() 공개 메소드

Overriden. Seek is not supported.
public Seek ( long offset, SeekOrigin origin ) : long
offset long
origin SeekOrigin
리턴 long

SetLength() 공개 메소드

Overriden. SetLength is not supported.
public SetLength ( long value ) : void
value long
리턴 void

Write() 공개 메소드

Writes byte array to stream.
public Write ( byte buffer, int offset, int count ) : void
buffer byte
offset int
count int
리턴 void