Search Results for

    Show / Hide Table of Contents

    Converter.ShortFromBits Method

    Namespace: Riptide.Utils
    Assembly: RiptideNetworking.dll

    Overloads

    ShortFromBits(byte[], int)

    Converts the 16 bits at startBit in array to a short.

    ShortFromBits(ulong[], int)

    Converts the 16 bits at startBit in array to a short.

    ShortFromBits(byte[], int)

    Converts the 16 bits at startBit in array to a short.

    public static short ShortFromBits(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

    short

    The converted short.

    ShortFromBits(ulong[], int)

    Converts the 16 bits at startBit in array to a short.

    public static short ShortFromBits(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

    short

    The converted short.

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