Lidgren Network Library documentation |
NetBuffer..::..ReadBits Method |
NetBuffer Class See Also Send Feedback |
Reads the specified number of bits into a preallocated array
Namespace: Lidgren.Network
Assembly: Lidgren.Network (in Lidgren.Network.dll) Version: 2012.1.7.0 (2012.1.7.0)
Syntax
C# |
---|
public void ReadBits( byte[] into, int offset, int numberOfBits ) |
Visual Basic |
---|
Public Sub ReadBits ( _ into As Byte(), _ offset As Integer, _ numberOfBits As Integer _ ) |
Visual C++ |
---|
public: void ReadBits( array<unsigned char>^ into, int offset, int numberOfBits ) |
Parameters
- into
- Type: array<System..::..Byte>[]()[][]
The destination array
- offset
- Type: System..::..Int32
The offset where to start writing in the destination array
- numberOfBits
- Type: System..::..Int32
The number of bits to read