Encapsulates functionality of the hi-base32 package.

Constructors

Methods

Constructors

Methods

  • Encode the given input to a base32 string.

    Parameters

    • input: string | number[] | ArrayBuffer | Uint8Array<ArrayBufferLike>

      The input you want to encode.

    • OptionalasciiOnly: boolean

      Treat string as ASCII or UTF-8 string. Default is false.

    Returns string

    The encoded base32 string.