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