NetBitWriter Members
From Lidgren.Network
| Lidgren Network Library documentation |
| NetBitWriter Members |
| NetBitWriter Class Methods See Also Send Feedback |
The NetBitWriter type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| ReadByte |
Read 1-8 bits from a buffer into a byte
| |
| ReadBytes |
Read several bytes from a buffer
| |
| ReadUInt16 | ||
| ReadUInt32 |
Reads the specified number of bits into an UInt32
| |
| ReadVariableUInt32 |
Reads a UInt32 written using WriteUnsignedVarInt(); will increment offset!
| |
| WriteByte |
Write a byte consisting of 1-8 bits to a buffer; assumes buffer is previously allocated
| |
| WriteBytes |
Write several whole bytes
| |
| WriteUInt16 | ||
| WriteUInt32 |
Writes the specified number of bits into a byte array
| |
| WriteUInt64 |
Writes the specified number of bits into a byte array
| |
| WriteVariableUInt32 |
Write Base128 encoded variable sized unsigned integer
|