Skip to main content
Module

x/fido2/lib/main.js>tools.cbor.encodeIter

A node.js library for performing FIDO 2.0 / WebAuthn server functionality
Go to Latest
function tools.cbor.encodeIter
import { tools } from "https://deno.land/x/fido2@3.2.5/lib/main.js";
const { encodeIter } = tools.cbor;

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]