Search Results for

    Show / Hide Table of Contents

    Converter.IntToBits Method

    Namespace: Riptide.Utils
    Assembly: RiptideNetworking.dll

    Overloads

    IntToBits(int, byte[], int)

    Converts value to 32 bits and writes them into array at startBit.

    IntToBits(int, ulong[], int)

    Converts value to 32 bits and writes them into array at startBit.

    IntToBits(int, byte[], int)

    Converts value to 32 bits and writes them into array at startBit.

    public static void IntToBits(int value, byte[] array, int startBit)

    Parameters

    int value

    The int to convert.

    byte[] array

    The array to write the bits into.

    int startBit

    The position in the array at which to write the bits.

    IntToBits(int, ulong[], int)

    Converts value to 32 bits and writes them into array at startBit.

    public static void IntToBits(int value, ulong[] array, int startBit)

    Parameters

    int value

    The int to convert.

    ulong[] array

    The array to write the bits into.

    int startBit

    The position in the array at which to write the bits.

    • Improve this Doc
    • View Source
    • Support Riptide
    In This Article
    Back to top Copyright © Tom Weiland 2022
    Made with DocFX