NetBitWriter Class |
Namespace: Internal.Lidgren.Network
public static class NetBitWriter
The NetBitWriter type exposes the following members.
Name | Description | |
---|---|---|
ReadByte(Byte, Int32, Int32) |
Read 1-8 bits from a buffer into a byte
| |
ReadByte(ReadOnlySpan, Void, Byte) | ||
ReadBytes(ReadOnlySpan, Void, Byte) | ||
ReadBytes(Byte, Int32, Int32, Byte, Int32) |
Read several bytes from a buffer
| |
ReadUInt16 | ||
ReadUInt32 | ||
ReadVariableUInt32 | ||
WriteByte(Byte, Int32, Byte, Int32) |
Write 0-8 bits of data to buffer
| |
WriteByte(Byte, Int32, Span, Void) | ||
WriteBytes(ReadOnlySpan, Void, Byte) | ||
WriteBytes(Byte, Int32, Int32, Byte, Int32) |
Write several whole bytes
| |
WriteUInt16 | ||
WriteUInt32 | ||
WriteUInt64 | ||
WriteVariableUInt32 | ||
Zero |