Search Results for

    Show / Hide Table of Contents

    Converter.ToShort Method

    Namespace: Riptide.Utils
    Assembly: RiptideNetworking.dll

    ToShort(byte[], int)

    Converts the 2 bytes in the array at startIndex to a short.

    public static short ToShort(byte[] array, int startIndex)

    Parameters

    byte[] array

    The array to read the bytes from.

    int startIndex

    The position in the array at which to read the bytes.

    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