{"id":"dekkonot/base91","name":"base91","scope":"dekkonot","platform":"roblox","description":"Codec for converting to and from Base91","version":"1.1.0","latest":"1.1.0","versions":["1.0.0","1.1.0"],"license":"MIT","licenseRating":"safe","licenseCaveats":["License identified from the packaged LICENSE file; the manifest declared none."],"licenseVerified":true,"dependencies":{},"integrity":"12e21623a1fb93e1628e600078010ad25cea8b6098939cd6b9a267803391d72e","likes":0,"downloads":0,"install":"forest install dekkonot/base91","url":"https://forest.dev/p/roblox/dekkonot/base91","files":"https://api.forest.dev/ai/package/roblox/dekkonot/base91/files","readme":"# base91-luau\n\nAn implementation of Base91 in Luau. As the primary consumer of Luau is Roblox,\nthis module uses apostrophes (`'`) instead of quotation marks (`\"`) for the\noutput.\n\nFour functions are returned from the [main module](src/init.lua):\n\n- `encodeString`\n- `decodeString`\n- `encodeBytes`\n- `decodeBytes`\n- `encodeBuffer`\n- `decodeBuffer`\n\nThese functions are documented below. They are also documented more thoroughly within the module itself.\n\n---\n\n```luau\nencodeString(input: string): string\n```\n\nTakes a string and applies base91 encoding to it.\n\n```luau\ndecodeString(input: string): string\n```\n\nTakes a base91 encoded string and decodes it.\n\n```luau\nencodeBytes(input: {number}): {number}\n```\n\nTakes an array of bytes and returns them as a base91 encoded sequence.\nThese bytes should be 8 bits.\n\n```luau\ndecodeBytes(input: {number}): {number}\n```\n\nTakes base91 encoded sequence of bytes and decodes them. The bytes should be\n8 bits.\n\n```luau\nencodeBuffer(input: buffer, skipTruncating: boolean?): buffer\n```\n\nTakes a buffer and returns a base91 encoded version of it.\n\nIf `skipTruncating` is `true`, the returned buffer will be trimmed to be exactly the length of the output. The default value for `skipTruncating` is `true`.\n\n```luau\ndecodeBuffer(input: buffer, skipTruncating: boolean?): buffer\n```\n\nTakes a base91 encoded buffer and returns it decoded.\n\nIf `skipTruncating` is `true`, the returned buffer will be trimmed to be exactly the length of the output. The default value for `skipTruncating` is `true`.\n","readmeTruncated":false}