• Writes 2-byte little-endian representation of 16-bit unsigned value to array starting at offset.

    If byte array is not given, creates a new 2-byte one.

    Returns the output byte array.

    Parameters

    • value: number
    • out: Uint8Array = ...
    • offset: number = 0

    Returns Uint8Array