UNPKG

@oazmi/build-tools

Version:

general deno build tool scripts which I practically use in all of my typescript repos

18 lines 627 B
import type { Uint8Array_ } from "./_types.js"; /** * Decodes an encoded string with the given lookup table. * * @param b32 The string to encode. * @param lookup The lookup table * @returns The encoded string. */ export declare function decode(b32: string, lookup: ReadonlyArray<string>): Uint8Array_; /** * Encodes the given data using the lookup table. * * @param data The data to encode. * @param lookup The lookup table. * @returns The encoded string. */ export declare function encode(data: ArrayBuffer | Uint8Array | string, lookup: ReadonlyArray<string>): string; //# sourceMappingURL=_base32_common.d.ts.map