Lidgren Network Library documentation |
NetUtility..::..BytesToHoldBits Method |
NetUtility Class See Also Send Feedback |
Returns how many bytes are required to hold a certain number of bits
Namespace: Lidgren.Network
Assembly: Lidgren.Network (in Lidgren.Network.dll) Version: 2012.1.7.0 (2012.1.7.0)
Syntax
C# |
---|
public static int BytesToHoldBits( int numBits ) |
Visual Basic |
---|
Public Shared Function BytesToHoldBits ( _ numBits As Integer _ ) As Integer |
Visual C++ |
---|
public: static int BytesToHoldBits( int numBits ) |
Parameters
- numBits
- Type: System..::..Int32
[Missing <param name="numBits"/> documentation for "M:Lidgren.Network.NetUtility.BytesToHoldBits(System.Int32)"]
Return Value
[Missing <returns> documentation for "M:Lidgren.Network.NetUtility.BytesToHoldBits(System.Int32)"]