UNPKG

@berish/rfp

Version:

Binary secure transport organization protocol for peer communication using function fingerprints

14 lines 414 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.cborBinaryEncoder = void 0; exports.cborBinaryEncoder = { encode: (data) => data && getCbor().encodeAsync(data), decode: (binary) => binary && getCbor().decode(binary), }; let cbor = null; function getCbor() { if (!cbor) cbor = require('cbor'); return cbor; } //# sourceMappingURL=cborBinaryEncoder.js.map