Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/dtils/deps.ts>cbor.decodeIter

The best unofficial library of utilities for Deno applications
Go to Latest
function cbor.decodeIter
import { cbor } from "https://deno.land/x/dtils@2.6.0/deps.ts";
const { decodeIter } = cbor;

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