Supporting reader structure that contains buffer with read data, position of cursor and other supporting data.
| Name | Type | Description | Notes |
|---|---|---|---|
| Buffer | byte[] | Buffer data read from stream. | |
| BufferActiveLength | int | Buffer size in bytes. | |
| BufferPosition | int | Tracks the current byte position in the buffer. | |
| BitIndex | int | Tracks the current bit position in the buffer. | |
| LastStreamPosition | long | Last position of the stream the data was read from. |
Name | Type | Description | Parameters ------------ | ------------- | ------------- reset | void | Resets buffer to empty state. |