Struct BitArray32
A 32-bit array.
Namespace: GDX.Collections
Syntax
[Serializable]
public struct BitArray32
  Examples
Useful for packing a bunch of data with known indices tightly.
    if(myBitArray32[1])
    {
        BeAwesome();
    }
  Constructors
| Improve this Doc View SourceBitArray32(UInt32)
Create a new BitArray32 based on provided bits0.
Declaration
public BitArray32(uint bits0)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.UInt32 | bits0 | An existing value to be used to create the backing data for a BitArray32  | 
      
Fields
| Improve this Doc View SourceBits0
First reserved System.UInt32 memory block (32-bits).
Declaration
public uint Bits0
  Field Value
| Type | Description | 
|---|---|
| System.UInt32 | 
Remarks
Indices 0-31
Properties
| Improve this Doc View SourceItem[Byte]
Access bit in array.
Declaration
public bool this[byte index] { get; set; }
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Byte | index | Target bit index.  | 
      
Property Value
| Type | Description | 
|---|---|
| System.Boolean |