Photon Fusion
2.0.9
Represents an offset within a NetBitBuffer. More...
Public Member Functions | |
| int | GetLength (NetBitBuffer *buffer) |
| Gets the length in bits from the stored offset to the current offset of the buffer. More... | |
| Offset (NetBitBuffer *buffer) | |
| Initializes a new instance of the Offset struct with the specified buffer. More... | |
Represents an offset within a NetBitBuffer.
| Offset | ( | NetBitBuffer * | buffer | ) |
Initializes a new instance of the Offset struct with the specified buffer.
| buffer | The buffer to initialize the offset from. |
| int GetLength | ( | NetBitBuffer * | buffer | ) |
Gets the length in bits from the stored offset to the current offset of the buffer.
| buffer | The buffer to calculate the length from. |