Name | Description | |
---|---|---|
![]() | NByteReader Constructor | Creates a new byte reader for the specified byte array. |
The following tables list the members exposed by NByteReader.
Name | Description | |
---|---|---|
![]() | NByteReader Constructor | Creates a new byte reader for the specified byte array. |
Name | Description | |
---|---|---|
![]() | EndReached | Checks if the byte reader has reached the end of the bytes to read. |
![]() | Length | Gets the length of the byte array this reader operates on. |
![]() | Position | Gets or sets the current reader position in the byte array. |
Name | Description | |
---|---|---|
![]() | Dec | Decreases the current position by 1. |
![]() | Inc | Overloaded. Increases the current position by 1. |
![]() | PeekByte | Returns the byte at the current position without moving the reading pointer. |
![]() | ReadByte | Reads a byte and increments the current position. |
![]() | ReadByteArray | Read as much bytes as necessary to fill the specified array of bytes. |
![]() | ReadBytes | Overloaded. Reads the specified number of bytes. |
![]() | ReadDoubleBE | Reads a double (big endian). |
![]() | ReadDoubleLE | Reads a double (little endian). |
![]() | ReadInt16BE | Reads a short (big endian). |
![]() | ReadInt16LE | Reads a short (little endian). |
![]() | ReadInt32BE | Reads an int (big endian). |
![]() | ReadInt32LE | Reads an int (little endian). |
![]() | ReadInt64BE | Reads a long (big endian). |
![]() | ReadInt64LE | Reads a long (little endian). |
![]() | ReadIntArray | Read as much bytes as necessary to fill the specified array of integers. |
![]() | ReadSingleBE | Reads a single (big endian). |
![]() | ReadSingleLE | Reads a single (little endian). |
![]() | ReadToEnd | Reads all the bytes to the end of the byte array. |
![]() | ReadUInt16BE | Reads an unsigned short (big endian). |
![]() | ReadUInt16LE | Reads an unsigned short (little endian). |
![]() | ReadUInt32BE | Reads an unsigned int (big endian). |
![]() | ReadUInt32LE | Reads an unsigned int (little endian). |