UNPKG

@hazae41/base64

Version:

Base64 adapter for WebAssembly and JS implementations

14 lines (11 loc) 283 B
import { Some, Option } from '@hazae41/option'; import { fromBuffer } from './buffer.mjs'; let global = new Some(fromBuffer()); function get() { return global; } function set(value) { global = Option.wrap(value); } export { get, set }; //# sourceMappingURL=adapter.mjs.map