Search Results for

    Show / Hide Table of Contents

    Struct BitArray128

    A 128-bit array.

    Namespace: GDX.Collections
    Syntax
    public struct BitArray128
    Examples

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

        if(myBitArray128[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

    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.