Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/cbor/iterators.js>decodeIter

Ultra-fast CBOR encoder/decoder with extensions for records and structural cloning
Latest
function decodeIter
import { decodeIter } from "https://deno.land/x/cbor@v1.6.0/iterators.js";

Given an Iterable/Iterator input which yields buffers, returns an IterableIterator which yields sync decoded objects Or, given an Async Iterable/Iterator which yields promises resolving in buffers, returns an AsyncIterableIterator.

Parameters

bufferIterator
optional
options = [UNSUPPORTED]
  • Decoder options