Struct BitArray64
Array of 64 bits.
public struct BitArray64 : IEquatable<BitArray64>
- Implements
Constructors
- BitArray64()
Initializes a new instance of the BitArray64 struct.
- BitArray64(bool)
Initializes a new instance of the BitArray64 struct.
- BitArray64(ulong)
Initializes a new instance of the BitArray64 struct.
Fields
Properties
- this[int]
Gets or sets the bit at the specified index.
- Length
Gets the length of the array.
Methods
- AssertIndex(int)
Asserts if the given index isn't in valid bounds.
- ClearAllBits()
Sets all bits to 0.
- ClearBit(int)
Sets the specified bit to 0.
- ClearBits(ulong)
Sets all the bits that match a mask to 0.
- Equals(BitArray64)
Check if this object equals another object.
- Equals(object)
Checks if this object equals another object.
- GetBits(ulong)
Gets all the bits that match a mask.
- GetHashCode()
Gets the hash code of this object.
- SetAllBits()
Sets all bits to 1.
- SetAllBits(bool)
Sets all bits to the specified value.
- SetBit(int)
Sets the specified bit to 1.
- SetBits(ulong)
Sets all the bits that match a mask to 1.
- ToBitsString()
Gets a string of bits (contains 64 charactars, equal to 0 or 1).
- ToString()
Gets a string representation of the object.