Search Results for

    Show / Hide Table of Contents

    Converter.ToUShort Method

    Namespace: Riptide.Utils
    Assembly: RiptideNetworking.dll

    ToUShort(byte[], int)

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

    public static ushort ToUShort(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

    ushort

    The converted ushort.

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