{
  "classes": [
    {
      "constants": [],
      "types": [],
      "name": "@eryx/encoding/base32",
      "tags": [],
      "functions": [
        {
          "source": {
            "path": "",
            "line": 25
          },
          "is_method": false,
          "signature": "base32.encode(\n    buf: buffer  -- The binary data to encode.\n) → (\n    string  -- The Base32-encoded string. \n)",
          "owner": "base32",
          "desc": "Encodes a buffer into a Base32 string.\n",
          "tags": [],
          "name": "encode",
          "return_str": "string",
          "function_type": "Function",
          "returns": [
            {
              "lua_type": "string",
              "desc": "The Base32-encoded string. "
            }
          ],
          "params": [
            {
              "lua_type": "buffer",
              "name": "buf",
              "desc": "The binary data to encode."
            }
          ]
        },
        {
          "source": {
            "path": "",
            "line": 66
          },
          "is_method": false,
          "signature": "base32.decode(\n    str: string  -- The Base32-encoded string.\n) → (\n    buffer  -- The decoded binary data. \n)",
          "owner": "base32",
          "desc": "Decodes a Base32 string back into a buffer.\n\nPadding characters (`=`) and whitespace are ignored.\n",
          "tags": [],
          "name": "decode",
          "return_str": "buffer",
          "function_type": "Function",
          "returns": [
            {
              "lua_type": "buffer",
              "desc": "The decoded binary data. "
            }
          ],
          "params": [
            {
              "lua_type": "string",
              "name": "str",
              "desc": "The Base32-encoded string."
            }
          ]
        }
      ],
      "properties": [],
      "source": {
        "path": "",
        "line": 0
      },
      "desc": "Base32 encoding utilities.\n\nEncodes and decodes binary `buffer` data using the standard Base32\nalphabet (RFC 4648 § 6: `A–Z`, `2–7`). Padding characters are not\nemitted.\n\n```luau\nlocal base32 = require(\"@eryx/encoding/base32\")\nlocal encoded = base32.encode(buffer.fromstring(\"Hello\"))\nprint(encoded) -- \"JBSWY3DP\"\n```\n"
    }
  ]
}