UNPKG

@hazae41/base64

Version:

Base64 adapter for WebAssembly and JS implementations

11 lines (8 loc) 361 B
import { BytesOrCopiable, Copied } from '../../libs/copiable/index.js'; declare function fromBuffer(): { encodePaddedOrThrow: (bytes: BytesOrCopiable) => string; decodePaddedOrThrow: (text: string) => Copied; encodeUnpaddedOrThrow: (bytes: BytesOrCopiable) => string; decodeUnpaddedOrThrow: (text: string) => Copied; }; export { fromBuffer };