WriteUInt16 Method

Lidgren.Network

Collapse imageExpand ImageCopy imageCopyHover image

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

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

Syntax

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

Parameters

source
Type: System..::..UInt16

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

numberOfBits
Type: System..::..Int32

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

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

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

destinationBitOffset
Type: System..::..Int32

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

Return Value

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

See Also