"use strict"; const cbor = require("cbor"); const map = require("@promistream/map"); module.exports = function createEncodeCBORStream(options) { return map((value) => { return cbor.encodeAsync(value, options); }); }; // MARKER: Test both implementations