NetBitVector Methods

Lidgren.Network

Collapse imageExpand ImageCopy imageCopyHover image

The NetBitVector type exposes the following members.

Methods

  NameDescription
Public methodClear
Sets all bits/booleans to zero/false
Public methodCount
Returns the number of bits/booleans set to one/true
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGet
Gets the bit/bool at the specified index
Public methodGetFirstSetIndex
Gets the first (lowest) index set to true
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsEmpty
Returns true if all bits/booleans are set to zero/false
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRotateDown
Shift all bits one step down, cycling the first bit to the top
Public methodSet
Sets or clears the bit/bool at the specified index
Public methodToString
Returns a string that represents this object
(Overrides Object..::..ToString()()()().)

See Also