C# 클래스 NVorbis.StreamReadBuffer

파일 보기 프로젝트 열기: gregzo/G-Audio 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CalcBuffer void
CommitDiscard void
CreateNewBuffer void
EnsureAvailable int
EnsureBufferSize void
FillBuffer int
PrepareStreamForRead int
ReadByte int
ReadStream void
SaveBuffer void
StreamReadBuffer System
SwapBuffers void

공개 메소드들

메소드 설명
DiscardThrough ( long offset ) : void

Tells the buffer that it no longer needs to maintain any bytes before the indicated offset.

Dispose ( ) : void
Read ( long offset, byte buffer, int index, int count ) : int

Reads the number of bytes specified into the buffer given, starting with the offset indicated.

비공개 메소드들

메소드 설명
CalcBuffer ( long offset, int count, int &readStart, int &readEnd ) : void
CommitDiscard ( ) : void
CreateNewBuffer ( long offset, int count ) : void
EnsureAvailable ( long offset, int &count, bool isRecursion ) : int
EnsureBufferSize ( int reqSize, bool copyContents, int copyOffset ) : void
FillBuffer ( long offset, int count, int readStart, int readEnd ) : int
PrepareStreamForRead ( int readCount, long readOffset ) : int
ReadByte ( long offset ) : int
ReadStream ( int readStart, int readCount, long readOffset ) : void
SaveBuffer ( ) : void
StreamReadBuffer ( Stream source, int initialSize, int maxSize, bool minimalRead ) : System
SwapBuffers ( SavedBuffer savedBuffer ) : void

메소드 상세

DiscardThrough() 공개 메소드

Tells the buffer that it no longer needs to maintain any bytes before the indicated offset.
public DiscardThrough ( long offset ) : void
offset long The offset to discard through.
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Read() 공개 메소드

Reads the number of bytes specified into the buffer given, starting with the offset indicated.
public Read ( long offset, byte buffer, int index, int count ) : int
offset long The offset into the stream to start reading.
buffer byte The buffer to read to.
index int The index into the buffer to start writing to.
count int The number of bytes to read.
리턴 int