Search Results for

    Show / Hide Table of Contents

    Struct BitArray256

    A 256-bit array.

    Namespace: GDX.Collections
    Syntax
    public struct BitArray256
    Examples

    Useful for packing a bunch of data with known indices tightly.

        if(myBitArray256[1])
        {
            BeAwesome();
        }

    Fields

    | Improve this Doc View Source

    Bits0

    First reserved System.Int32 memory block.

    Declaration
    public int Bits0
    Field Value
    Type Description
    System.Int32
    Remarks

    Indices 0-31

    | Improve this Doc View Source

    Bits1

    Second reserved System.Int32 memory block.

    Declaration
    public int Bits1
    Field Value
    Type Description
    System.Int32
    Remarks

    Indices 32-63

    | Improve this Doc View Source

    Bits2

    Third reserved System.Int32 memory block.

    Declaration
    public int Bits2
    Field Value
    Type Description
    System.Int32
    Remarks

    Indices 64-95

    | Improve this Doc View Source

    Bits3

    Fourth reserved System.Int32 memory block.

    Declaration
    public int Bits3
    Field Value
    Type Description
    System.Int32
    Remarks

    Indices 96-127

    | Improve this Doc View Source

    Bits4

    Fifth reserved System.Int32 memory block.

    Declaration
    public int Bits4
    Field Value
    Type Description
    System.Int32
    Remarks

    Indices 128-159

    | Improve this Doc View Source

    Bits5

    Sixth reserved System.Int32 memory block.

    Declaration
    public int Bits5
    Field Value
    Type Description
    System.Int32
    Remarks

    Indices 160-191

    | Improve this Doc View Source

    Bits6

    Seventh reserved System.Int32 memory block.

    Declaration
    public int Bits6
    Field Value
    Type Description
    System.Int32
    Remarks

    Indices 192-223

    | Improve this Doc View Source

    Bits7

    Eighth reserved System.Int32 memory block.

    Declaration
    public int Bits7
    Field Value
    Type Description
    System.Int32
    Remarks

    Indices 224-255

    Properties

    | Improve this Doc View Source

    Item[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
    • Improve this Doc
    • View Source
    In This Article
    Back to top Built on 2024-01-01 against 1f69a68.
    Generated by Dox+DocFX.