Méthode | Description | |
---|---|---|
AlignToByte ( ) : void |
Align internal buffer on a byte boundary
|
|
Flush ( byte output, int offset, int length ) : int |
Flushes the pending buffer into the given output array. If the output array is to small, only a partial flush is done.
|
|
PendingBuffer ( ) : System |
construct instance using default buffer size of 4096
|
|
PendingBuffer ( int bufferSize ) : System |
construct instance using specified buffer size
|
|
Reset ( ) : void |
Clear internal state/buffers
|
|
ToByteArray ( ) : byte[] |
Convert internal buffer to byte array. Buffer is empty on completion
|
|
WriteBits ( int b, int count ) : void |
Write bits to internal buffer
|
|
WriteBlock ( byte block, int offset, int length ) : void |
Write a block of data to buffer
|
|
WriteByte ( int value ) : void |
Write a byte to buffer
|
|
WriteInt ( int value ) : void |
write an integer LSB first
|
|
WriteShort ( int value ) : void |
Write a short value to buffer LSB first
|
|
WriteShortMSB ( int s ) : void |
Write a short value to internal buffer most significant byte first
|
public Flush ( byte output, int offset, int length ) : int | ||
output | byte | The output array. |
offset | int | The offset into output array. |
length | int | The maximum number of bytes to store. |
Résultat | int |
public PendingBuffer ( int bufferSize ) : System | ||
bufferSize | int | /// size to use for internal buffer /// |
Résultat | System |
public WriteBits ( int b, int count ) : void | ||
b | int | source of bits |
count | int | number of bits to write |
Résultat | void |
public WriteBlock ( byte block, int offset, int length ) : void | ||
block | byte | data to write |
offset | int | offset of first byte to write |
length | int | number of bytes to write |
Résultat | void |
public WriteByte ( int value ) : void | ||
value | int | /// The value to write /// |
Résultat | void |
public WriteInt ( int value ) : void | ||
value | int | The value to write. |
Résultat | void |
public WriteShort ( int value ) : void | ||
value | int | /// The value to write. /// |
Résultat | void |
public WriteShortMSB ( int s ) : void | ||
s | int | value to write |
Résultat | void |