Represents an offset within a NetBitBuffer.
More...
|
| int | GetLength (NetBitBuffer *buffer) |
| | Gets the length in bits from the stored offset to the current offset of the buffer.
|
| | Offset (NetBitBuffer *buffer) |
| | Initializes a new instance of the Offset struct with the specified buffer.
|
Represents an offset within a NetBitBuffer.
◆ Offset()
Initializes a new instance of the Offset struct with the specified buffer.
- Parameters
-
| buffer | The buffer to initialize the offset from. |
◆ GetLength()
Gets the length in bits from the stored offset to the current offset of the buffer.
- Parameters
-
| buffer | The buffer to calculate the length from. |
- Returns
- The length in bits.