Search Results for

    Show / Hide Table of Contents

    Converter.BoolToBit Method

    Namespace: Riptide.Utils
    Assembly: RiptideNetworking.dll

    Overloads

    BoolToBit(bool, byte[], int)

    Converts value to a bit and writes it into array at startBit.

    BoolToBit(bool, ulong[], int)

    Converts value to a bit and writes it into array at startBit.

    BoolToBit(bool, byte[], int)

    Converts value to a bit and writes it into array at startBit.

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

    Parameters

    bool value

    The bool to convert.

    byte[] array

    The array to write the bit into.

    int startBit

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

    BoolToBit(bool, ulong[], int)

    Converts value to a bit and writes it into array at startBit.

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

    Parameters

    bool value

    The bool to convert.

    ulong[] array

    The array to write the bit into.

    int startBit

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

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