hammerspoon2-docs
    Preparing search index...

    Function base32Encode

    • Encode bytes as base32 (RFC 4648), with = padding

      Parameters

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

        The bytes to encode. A string is encoded as UTF-8

      Returns string

      Base32 encoded string

      Throws an Error on failure; wrap calls in try/catch to handle it.