Search Results for

    Show / Hide Table of Contents

    Converter.SByteFromBits Method

    Namespace: Riptide.Utils
    Assembly: RiptideNetworking.dll

    Overloads

    SByteFromBits(byte[], int)

    Converts the 8 bits at startBit in array to an sbyte.

    SByteFromBits(ulong[], int)

    Converts the 8 bits at startBit in array to an sbyte.

    SByteFromBits(byte[], int)

    Converts the 8 bits at startBit in array to an sbyte.

    public static sbyte SByteFromBits(byte[] array, int startBit)

    Parameters

    byte[] array

    The array to convert the bits from.

    int startBit

    The position in the array from which to read the bits.

    Returns

    sbyte

    The converted sbyte.

    SByteFromBits(ulong[], int)

    Converts the 8 bits at startBit in array to an sbyte.

    public static sbyte SByteFromBits(ulong[] array, int startBit)

    Parameters

    ulong[] array

    The array to convert the bits from.

    int startBit

    The position in the array from which to read the bits.

    Returns

    sbyte

    The converted sbyte.

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