Property | Type | Description | |
---|---|---|---|
ByteOrder | ByteOrder |
Method | Description | |
---|---|---|
Dispose ( ) : void | ||
FromBytes ( byte bytes ) : |
Creates a new IOBuffer instance from a byte array.
|
|
FromBytes ( byte bytes, ByteOrder order ) : |
Creates a new IOBuffer instance from a byte array, using a specified byte order.
|
|
FromStream ( Stream stream ) : |
Creates a new IoWriter instance from a stream.
|
|
FromStream ( Stream stream, ByteOrder order ) : |
Creates a new IoWriter instance from a stream, using a specified byte order.
|
|
IoWriter ( Stream stream ) : System |
Creates a new IOBuffer instance from a stream.
|
|
Seek ( SeekOrigin origin, long offset ) : void |
Seeks in the current stream.
|
|
Skip ( long numBytes ) : void |
Skips a number of bytes in the current stream, starting from the current position.
|
|
WriteByte ( byte value ) : void |
Writes a byte to the current stream.
|
|
WriteBytes ( byte bytes ) : void |
Writes a number of bytes to the current stream.
|
|
WriteCString ( string value ) : void | ||
WriteCString ( string value, int num ) : void |
Writes a number of ASCII characters to the current stream.
|
|
WriteFloat ( float value ) : void |
Writes a float to the current stream.
|
|
WriteInt16 ( short value ) : void |
Writes a 16bit integer to the current stream.
|
|
WriteInt32 ( int value ) : void |
Writes a 32bit integer to the current stream.
|
|
WriteLongPascalString ( string value ) : void |
Writes a pascal string to the current stream, which is prefixed by a 16bit short.
|
|
WriteNullTerminatedString ( string value ) : void |
Writes a C string to the current stream.
|
|
WritePascalString ( string value ) : void |
Writes a pascal string to the current stream, prefixed by a byte.
|
|
WriteUInt16 ( ushort value ) : void |
Writes an unsigned 16bit integer to the current stream.
|
|
WriteUInt32 ( uint value ) : void |
Writes an unsigned 32bit integer from to current stream.
|
|
WriteVarLen ( uint value ) : void |
Writes a variable length unsigned integer to the current stream
|
|
WriteVariableLengthPascalString ( string value ) : void |
Writes a pascal string to the current stream.
|
public static FromBytes ( byte bytes ) : |
||
bytes | byte | The byte array to use. |
return |
public static FromBytes ( byte bytes, ByteOrder order ) : |
||
bytes | byte | The byte array to use. |
order | ByteOrder | Byte order to use. |
return |
public static FromStream ( Stream stream ) : |
||
stream | Stream | A stream. |
return |
public static FromStream ( Stream stream, ByteOrder order ) : |
||
stream | Stream | A stream. |
order | ByteOrder | Byte order to use. |
return |
public Seek ( SeekOrigin origin, long offset ) : void | ||
origin | SeekOrigin | Where to start from. |
offset | long | The offset to seek to. |
return | void |
public Skip ( long numBytes ) : void | ||
numBytes | long | Number of bytes to skip. |
return | void |
public WriteBytes ( byte bytes ) : void | ||
bytes | byte | Bytes to write out. |
return | void |
public WriteCString ( string value, int num ) : void | ||
value | string | The string to write. |
num | int | The number of bytes to write into. |
return | void |
public WriteLongPascalString ( string value ) : void | ||
value | string | |
return | void |
public WriteNullTerminatedString ( string value ) : void | ||
value | string | |
return | void |
public WritePascalString ( string value ) : void | ||
value | string | |
return | void |
public WriteVarLen ( uint value ) : void | ||
value | uint | Value to write. |
return | void |
public WriteVariableLengthPascalString ( string value ) : void | ||
value | string | |
return | void |