IDataStream Methods
The IDataStream type exposes the following members.
Methods
Name | Description | |
---|---|---|
Allocate(Int32) |
Allocates a buffer of the specified size for the data stream.
|
|
Allocate(array<Byte>[]()[][]) |
Allocates a buffer using the provided byte array for the data stream.
|
|
Forward(Int32) |
Moves the stream forward by a specified distance.
|
|
Forward<(Of <<'(T>)>>)()()()() |
Moves the stream forward to the end of the data of a specific type.
|
|
GetBuffer |
Retrieves the entire buffer from the data stream.
|
|
Read<(Of <<'(T>)>>)(Boolean) |
Reads data of a generic type from the stream.
|
|
Read<(Of <<'(T>)>>)(Int32) |
Reads data of a generic type from the stream at the specified offset.
|
|
Read<(Of <<'(T>)>>)(Type) |
Reads data of a specified type from the stream.
|
|
RegisterStream<(Of <<'(T>)>>) |
Registers a stream with the data stream for a specific data type.
|
|
Reset |
Resets the data stream to its initial state.
|
|
Rewind(Int32) |
Rewinds the stream by a specified distance.
|
|
Rewind<(Of <<'(T>)>>)()()()() |
Rewinds the stream to the beginning of the data of a specific type.
|
|
ShiftLeft |
Shifts the data in the stream to the left starting from a specified index.
|
|
ShiftRight |
Shifts the data in the stream to the right starting from a specified index.
|
|
Write<(Of <<'(T>)>>)(T) |
Writes data of a generic type to the stream.
|
|
Write<(Of <<'(T>)>>)(T, Int32) |
Writes data of a generic type to the stream at the specified offset.
|