Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/cbor/index.js>encodeIter

Ultra-fast CBOR encoder/decoder with extensions for records and structural cloning
Very Popular
Go to Latest
function encodeIter
import { encodeIter } from "https://deno.land/x/cbor@v1.4.0/index.js";

Given an Iterable first argument, returns an Iterable where each value is encoded as a Buffer If the argument is only Async Iterable, the return value will be an Async Iterable.

Parameters

objectIterator
  • iterable source, like a Readable object stream, an array, Set, or custom object
optional
options = [UNSUPPORTED]