ReadByte Method

Lidgren.Network

Collapse imageExpand ImageCopy imageCopyHover image
Read 1-8 bits from a buffer into a byte

Namespace: Lidgren.Network
Assembly: Lidgren.Network (in Lidgren.Network.dll) Version: 2012.1.7.0 (2012.1.7.0)

Syntax

C#
public static byte ReadByte(
	byte[] fromBuffer,
	int numberOfBits,
	int readBitOffset
)
Visual Basic
Public Shared Function ReadByte ( _
	fromBuffer As Byte(), _
	numberOfBits As Integer, _
	readBitOffset As Integer _
) As Byte
Visual C++
public:
static unsigned char ReadByte(
	array<unsigned char>^ fromBuffer, 
	int numberOfBits, 
	int readBitOffset
)

Parameters

fromBuffer
Type: array<System..::..Byte>[]()[][]

[Missing <param name="fromBuffer"/> documentation for "M:Lidgren.Network.NetBitWriter.ReadByte(System.Byte[],System.Int32,System.Int32)"]

numberOfBits
Type: System..::..Int32

[Missing <param name="numberOfBits"/> documentation for "M:Lidgren.Network.NetBitWriter.ReadByte(System.Byte[],System.Int32,System.Int32)"]

readBitOffset
Type: System..::..Int32

[Missing <param name="readBitOffset"/> documentation for "M:Lidgren.Network.NetBitWriter.ReadByte(System.Byte[],System.Int32,System.Int32)"]

Return Value

[Missing <returns> documentation for "M:Lidgren.Network.NetBitWriter.ReadByte(System.Byte[],System.Int32,System.Int32)"]

See Also