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

x/hex/src/data/deps.ts>mongo.Bson.hex.encode

An ecosystem delivering practices, philosophy and portability.
Go to Latest
function mongo.Bson.hex.encode
import { mongo } from "https://deno.land/x/hex@0.5.15/src/data/deps.ts";
const { encode } = mongo.Bson.hex;

Encodes src into src.length * 2 bytes.

Parameters

src: Uint8Array

Returns

Uint8Array