WriteUInt32 Method

Lidgren.Network

Collapse imageExpand ImageCopy imageCopyHover image
Writes the specified number of bits into a byte array

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

Syntax

C#
public static int WriteUInt32(
	uint source,
	int numberOfBits,
	byte[] destination,
	int destinationBitOffset
)
Visual Basic
Public Shared Function WriteUInt32 ( _
	source As UInteger, _
	numberOfBits As Integer, _
	destination As Byte(), _
	destinationBitOffset As Integer _
) As Integer
Visual C++
public:
static int WriteUInt32(
	unsigned int source, 
	int numberOfBits, 
	array<unsigned char>^ destination, 
	int destinationBitOffset
)

Parameters

source
Type: System..::..UInt32

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

numberOfBits
Type: System..::..Int32

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

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

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

destinationBitOffset
Type: System..::..Int32

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

Return Value

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

See Also