DataBufferStream Class |
Namespace: FM.IceLink
The DataBufferStream type exposes the following members.
| Name | Description | |
|---|---|---|
| DataBufferStream(Int32) |
Initializes a new instance of the DataBufferStream class.
| |
| DataBufferStream(DataBuffer) |
Initializes a new instance of the DataBufferStream class.
| |
| DataBufferStream(Int32, Boolean) |
Initializes a new instance of the DataBufferStream class.
|
| Name | Description | |
|---|---|---|
| Available |
Gets the available bytes to be read from the DataBuffer.
| |
| BitPosition |
Gets or sets the bit position within a byte.
| |
| Buffer |
Gets the buffer.
| |
| Length |
Gets the buffer length.
| |
| Position |
Gets or sets the position within the stream.
|
| Name | Description | |
|---|---|---|
| Equals | (Inherited from Object.) | |
| Finalize | (Inherited from Object.) | |
| GetHashCode | (Inherited from Object.) | |
| GetType | (Inherited from Object.) | |
| MemberwiseClone | (Inherited from Object.) | |
| NextByte |
Resets the bit count to 0 and advances to the next byte.
| |
| Peek |
Reads an 8-bit value from the DataBuffer without advancing the Position.
| |
| Read |
Reads the specified length from the DataBuffer and advances the position by the length.
| |
| Read1 |
Read a single bit and advance the bit position by 1.
| |
| Read15 |
Reads an 15-bit value from the DataBuffer and advances the Position by 1 and the BitPosition by 7.
| |
| Read16 |
Reads an 16-bit value from the DataBuffer and advances the Position by 2.
| |
| Read2 |
Read a 2-bit value and advance the BitPosition by 2.
| |
| Read24 |
Reads an 24-bit value from the DataBuffer and advances the Position by 3.
| |
| Read3 |
Read a 3-bit value and advance the BitPosition by 3.
| |
| Read32 |
Reads an 32-bit value from the DataBuffer and advances the Position by 4.
| |
| Read4 |
Read a 4-bit value and advance the BitPosition by 4.
| |
| Read40 |
Reads an 40-bit value from the DataBuffer and advances the Position by 5.
| |
| Read48 |
Reads an 48-bit value from the DataBuffer and advances the Position by 6.
| |
| Read56 |
Reads an 56-bit value from the DataBuffer and advances the Position by 7.
| |
| Read64 |
Reads an 64-bit value from the DataBuffer and advances the Position by 8.
| |
| Read7 |
Reads an 7-bit value from the DataBuffer and advances the BitPosition by 7.
| |
| Read8 |
Reads an 8-bit value from the DataBuffer and advances the Position by 1.
| |
| ReadByte |
Reads a single byte from the stream and advances the Position by 1.
| |
| ReadBytes |
Read a specified number of bytes from the DataBuffer and advance the Position by that number.
| |
| ToString | (Inherited from Object.) | |
| Write |
Writes the specified buffer to the DataBuffer and advances the Position by the length of the buffer.
| |
| Write16 |
Writes an 16-bit value to the DataBuffer and advances the Position by 2.
| |
| Write32 |
Writes an 32-bit value to the DataBuffer and advances the Position by 4.
| |
| Write64 |
Writes an 64-bit value to the DataBuffer and advances the Position by 8.
| |
| Write8 |
Writes an 8-bit value to the DataBuffer and advances the Position by 1.
| |
| WriteBytes(Byte) |
Writes the specified data to the DataBuffer and advances the Position by the length of the data.
| |
| WriteBytes(Byte, Int32, Int32) |
Writes the specified data to the DataBuffer and advances the Position by the length.
|