@exodus/bytes
    Preparing search index...
    • Implements isomorphic decode.

      Given a TypedArray or an ArrayBuffer instance input, creates a string of the same length as input byteLength, using bytes from input as codepoints.

      E.g. for Uint8Array input, this is similar to String.fromCodePoint(...input).

      Wider TypedArray inputs, e.g. Uint16Array, are interpreted as underlying bytes.

      Parameters

      • input: ArrayBufferLike | ArrayBufferView<ArrayBufferLike>

        The bytes to decode

      Returns string

      The decoded string