C# 클래스 javazoom.jl.decoder.CircularByteBuffer

파일 보기 프로젝트 열기: RHY3756547/FreeSO 1 사용 예제들

공개 메소드들

메소드 설명
CircularByteBuffer ( CircularByteBuffer cdb ) : System

Initialize by copying the CircularByteBuffer passed in

CircularByteBuffer ( int size ) : System
Copy ( ) : CircularByteBuffer
GetRange ( int str, int stp ) : byte[]

Returns a range (in terms of Offsets) in an int array in chronological (oldest-to-newest) order. e.g. (3, 0) returns the last four ints pushed, with result[3] being the most recent.

Peek ( ) : byte

Returns what would fall out of the buffer on a Push. NOT the same as what you'd get with a Pop().

Pop ( ) : byte

Pop an integer off the start of the buffer. Throws an exception if the buffer is empty (NumValid == 0)

Push ( byte newValue ) : byte

Push a byte into the buffer. Returns the value of whatever comes off.

Reset ( ) : void
ToString ( ) : String
this ( int index ) : byte

e.g. Offset[0] is the current value

비공개 메소드들

메소드 설명
InternalGet ( int offset ) : byte
InternalSet ( int offset, byte valueToSet ) : void

메소드 상세

CircularByteBuffer() 공개 메소드

Initialize by copying the CircularByteBuffer passed in
public CircularByteBuffer ( CircularByteBuffer cdb ) : System
cdb CircularByteBuffer
리턴 System

CircularByteBuffer() 공개 메소드

public CircularByteBuffer ( int size ) : System
size int
리턴 System

Copy() 공개 메소드

public Copy ( ) : CircularByteBuffer
리턴 CircularByteBuffer

GetRange() 공개 메소드

Returns a range (in terms of Offsets) in an int array in chronological (oldest-to-newest) order. e.g. (3, 0) returns the last four ints pushed, with result[3] being the most recent.
public GetRange ( int str, int stp ) : byte[]
str int
stp int
리턴 byte[]

Peek() 공개 메소드

Returns what would fall out of the buffer on a Push. NOT the same as what you'd get with a Pop().
public Peek ( ) : byte
리턴 byte

Pop() 공개 메소드

Pop an integer off the start of the buffer. Throws an exception if the buffer is empty (NumValid == 0)
public Pop ( ) : byte
리턴 byte

Push() 공개 메소드

Push a byte into the buffer. Returns the value of whatever comes off.
public Push ( byte newValue ) : byte
newValue byte
리턴 byte

Reset() 공개 메소드

public Reset ( ) : void
리턴 void

ToString() 공개 메소드

public ToString ( ) : String
리턴 String

this() 공개 메소드

e.g. Offset[0] is the current value
public this ( int index ) : byte
index int
리턴 byte