@exodus/bytes
    Preparing search index...
    • Decode iso-8859-1 bytes to a string.

      There is no loose variant for this encoding, all bytes can be decoded.

      Same as:

      const latin1toString = createSinglebyteDecoder('iso-8859-1')
      

      Note: this is different from new TextDecoder('iso-8859-1') and new TextDecoder('latin1'), as those alias to new TextDecoder('windows-1252').

      Parameters

      • arr: Uint8Array

        The bytes to decode

      Returns string

      The decoded string