NetBitVector Members
From Lidgren.Network
| Lidgren Network Library documentation |
| NetBitVector Members |
| NetBitVector Class Constructors Methods Properties See Also Send Feedback |
The NetBitVector type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| NetBitVector |
NetBitVector constructor
|
Methods
| Name | Description | |
|---|---|---|
| Clear |
Sets all bits/booleans to zero/false
| |
| Count |
Returns the number of bits/booleans set to one/true
| |
| Equals | (Inherited from Object.) | |
| Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| Get |
Gets the bit/bool at the specified index
| |
| GetFirstSetIndex |
Gets the first (lowest) index set to true
| |
| GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
| IsEmpty |
Returns true if all bits/booleans are set to zero/false
| |
| MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| RotateDown |
Shift all bits one step down, cycling the first bit to the top
| |
| Set |
Sets or clears the bit/bool at the specified index
| |
| ToString |
Returns a string that represents this object
(Overrides Object..::..ToString()()()().) |
Properties
| Name | Description | |
|---|---|---|
| Bit |
Gets the bit/bool at the specified index
| |
| Capacity |
Gets the number of bits/booleans stored in this vector
|