Lidgren Network Library documentation |
NetBuffer..::..Write Method (UInt16, Int32) |
NetBuffer Class See Also Send Feedback |
Writes an unsigned integer using 1 to 16 bits
Namespace: Lidgren.Network
Assembly: Lidgren.Network (in Lidgren.Network.dll) Version: 2012.1.7.0 (2012.1.7.0)
Syntax
C# |
---|
public void Write( ushort source, int numberOfBits ) |
Visual Basic |
---|
Public Sub Write ( _ source As UShort, _ numberOfBits As Integer _ ) |
Visual C++ |
---|
public: void Write( unsigned short source, int numberOfBits ) |
Parameters
- source
- Type: System..::..UInt16
[Missing <param name="source"/> documentation for "M:Lidgren.Network.NetBuffer.Write(System.UInt16,System.Int32)"]
- numberOfBits
- Type: System..::..Int32
[Missing <param name="numberOfBits"/> documentation for "M:Lidgren.Network.NetBuffer.Write(System.UInt16,System.Int32)"]