UNPKG

@hashgraph/sdk

Version:
3 lines (2 loc) 250 B
import{btoa as r,atob as o}from"js-base64";function n(r){return Uint8Array.from(o(r),r=>r.charCodeAt(0))}function t(o){return r(String.fromCharCode.apply(null,Array.from(o)))}export{n as decode,t as encode}; //# sourceMappingURL=base64.native.js.map