MCPcopy Create free account
hub / github.com/daangn/urlpack / MakeBaseDecoder

Interface MakeBaseDecoder

packages/base-codec/src/decoder.ts:1–5  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1interface MakeBaseDecoder {
2 (baseAlphabet: string): {
3 decode: (input: string) => Uint8Array;
4 };
5}
6
7export const makeBaseDecoder: MakeBaseDecoder = baseAlphabet => {
8 let n = baseAlphabet.length;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected