메소드 | 설명 | |
---|---|---|
ByteBuffer ( int size ) |
Initializes a new instance of the ByteBuffer type.
|
|
ReadContentsFrom ( Stream reader ) : int |
Fills the buffer from the stream.
|
|
ReadUInt16 ( ) : ushort |
Reads a 16-bit unsigned integer from the buffer.
|
|
ReadUInt32 ( ) : uint |
Reads a 32-bit unsigned integer from the buffer.
|
|
SkipBytes ( int count ) : void |
Skips ahead a count of bytes.
|
|
WriteContentsTo ( Stream writer ) : void |
Writes the contents of the buffer to a stream.
|
|
WriteUInt16 ( ushort value ) : void |
Writes an unsigned short value to the buffer.
|
|
WriteUInt32 ( uint value ) : void |
Write an unsigned integer to the buffer.
|
public ReadContentsFrom ( Stream reader ) : int | ||
reader | Stream | The stream to read from. |
리턴 | int |
public SkipBytes ( int count ) : void | ||
count | int | The number of bytes to skip. |
리턴 | void |
public WriteContentsTo ( Stream writer ) : void | ||
writer | Stream | The stream to write to. |
리턴 | void |
public WriteUInt16 ( ushort value ) : void | ||
value | ushort | The value to write. |
리턴 | void |
public WriteUInt32 ( uint value ) : void | ||
value | uint | The value to write. |
리턴 | void |