Click or drag to resize

NetBitVector Class

Fixed size vector of booleans
Inheritance Hierarchy
SystemObject
  Internal.Lidgren.NetworkNetBitVector

Namespace:  Internal.Lidgren.Network
Assembly:  NeoAxis.Core (in NeoAxis.Core.dll) Version: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public sealed class NetBitVector

The NetBitVector type exposes the following members.

Constructors
  NameDescription
Public methodNetBitVector
NetBitVector constructor
Top
Properties
  NameDescription
Public propertyBit
Gets the bit/bool at the specified index
Public propertyCapacity
Gets the number of bits/booleans stored in this vector
Top
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.)
Public methodGet
Gets the bit/bool at the specified index
Public methodGetFirstSetIndex
Gets the first (lowest) index set to true
Public methodGetHashCode
Serves as the default hash function.
(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
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 ObjectToString.)
Top
Extension Methods
See Also