Struct BitArray512
A 512-bit array.
Namespace: GDX.Collections
Syntax
public struct BitArray512
Examples
Useful for packing a bunch of data with known indices tightly.
if(myBitArray512[1])
{
BeAwesome();
}
Fields
| Improve this Doc View SourceBits0
First reserved System.Int32 memory block.
Declaration
public int Bits0
Field Value
Type | Description |
---|---|
System.Int32 |
Remarks
Indices 0-31
Bits1
Second reserved System.Int32 memory block.
Declaration
public int Bits1
Field Value
Type | Description |
---|---|
System.Int32 |
Remarks
Indices 32-63
Bits10
Eleventh reserved System.Int32 memory block.
Declaration
public int Bits10
Field Value
Type | Description |
---|---|
System.Int32 |
Remarks
Indices 320-351
Bits11
Twelfth reserved System.Int32 memory block.
Declaration
public int Bits11
Field Value
Type | Description |
---|---|
System.Int32 |
Remarks
Indices 352-383
Bits12
Thirteenth reserved System.Int32 memory block.
Declaration
public int Bits12
Field Value
Type | Description |
---|---|
System.Int32 |
Remarks
Indices 384-415
Bits13
Fourteenth reserved System.Int32 memory block.
Declaration
public int Bits13
Field Value
Type | Description |
---|---|
System.Int32 |
Remarks
Indices 416-447
Bits14
Fifteenth reserved System.Int32 memory block.
Declaration
public int Bits14
Field Value
Type | Description |
---|---|
System.Int32 |
Remarks
Indices 448-479
Bits15
Sixteenth reserved System.Int32 memory block.
Declaration
public int Bits15
Field Value
Type | Description |
---|---|
System.Int32 |
Remarks
Indices 480-511
Bits2
Third reserved System.Int32 memory block.
Declaration
public int Bits2
Field Value
Type | Description |
---|---|
System.Int32 |
Remarks
Indices 64-95
Bits3
Fourth reserved System.Int32 memory block.
Declaration
public int Bits3
Field Value
Type | Description |
---|---|
System.Int32 |
Remarks
Indices 96-127
Bits4
Fifth reserved System.Int32 memory block.
Declaration
public int Bits4
Field Value
Type | Description |
---|---|
System.Int32 |
Remarks
Indices 128-159
Bits5
Sixth reserved System.Int32 memory block.
Declaration
public int Bits5
Field Value
Type | Description |
---|---|
System.Int32 |
Remarks
Indices 160-191
Bits6
Seventh reserved System.Int32 memory block.
Declaration
public int Bits6
Field Value
Type | Description |
---|---|
System.Int32 |
Remarks
Indices 192-223
Bits7
Eighth reserved System.Int32 memory block.
Declaration
public int Bits7
Field Value
Type | Description |
---|---|
System.Int32 |
Remarks
Indices 224-255
Bits8
Ninth reserved System.Int32 memory block.
Declaration
public int Bits8
Field Value
Type | Description |
---|---|
System.Int32 |
Remarks
Indices 256-287
Bits9
Tenth reserved System.Int32 memory block.
Declaration
public int Bits9
Field Value
Type | Description |
---|---|
System.Int32 |
Remarks
Indices 288-319
Properties
| Improve this Doc View SourceItem[Int32]
Access bit in array.
Declaration
public bool this[int index] { get; set; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | Target bit index. |
Property Value
Type | Description |
---|---|
System.Boolean |