Struct BitArray8
A 8-bit array.
Namespace: GDX.Collections
Syntax
[Serializable]
public struct BitArray8
  Examples
Useful for packing a bunch of data with known indices tightly.
    if(myBitArray8[1])
    {
        BeAwesome();
    }
  Constructors
| Improve this Doc View SourceBitArray8(Byte)
Create a new BitArray8 based on provided bits0.
Declaration
public BitArray8(byte bits0)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Byte | bits0 | An existing value to be used to create the backing data for a BitArray8  | 
      
Fields
| Improve this Doc View SourceBits0
First reserved System.Byte memory block (8-bits).
Declaration
public byte Bits0
  Field Value
| Type | Description | 
|---|---|
| System.Byte | 
Remarks
Indices 0-7
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 |