ReadBytes Method

Lidgren.Network

Collapse imageExpand ImageCopy imageCopyHover image
Read several bytes from a buffer

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

Syntax

C#
public static void ReadBytes(
	byte[] fromBuffer,
	int numberOfBytes,
	int readBitOffset,
	byte[] destination,
	int destinationByteOffset
)
Visual Basic
Public Shared Sub ReadBytes ( _
	fromBuffer As Byte(), _
	numberOfBytes As Integer, _
	readBitOffset As Integer, _
	destination As Byte(), _
	destinationByteOffset As Integer _
)
Visual C++
public:
static void ReadBytes(
	array<unsigned char>^ fromBuffer, 
	int numberOfBytes, 
	int readBitOffset, 
	array<unsigned char>^ destination, 
	int destinationByteOffset
)

Parameters

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

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

numberOfBytes
Type: System..::..Int32

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

readBitOffset
Type: System..::..Int32

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

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

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

destinationByteOffset
Type: System..::..Int32

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

See Also