BitsToHoldUInt Method

Lidgren.Network

Collapse imageExpand ImageCopy imageCopyHover image
Returns how many bits are necessary to hold a certain number

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

Syntax

C#
public static int BitsToHoldUInt(
	uint value
)
Visual Basic
Public Shared Function BitsToHoldUInt ( _
	value As UInteger _
) As Integer
Visual C++
public:
static int BitsToHoldUInt(
	unsigned int value
)

Parameters

value
Type: System..::..UInt32

[Missing <param name="value"/> documentation for "M:Lidgren.Network.NetUtility.BitsToHoldUInt(System.UInt32)"]

Return Value

[Missing <returns> documentation for "M:Lidgren.Network.NetUtility.BitsToHoldUInt(System.UInt32)"]

See Also