namespace Bson.heximport { Bson } from "https://deno.land/x/mongo@v0.31.0/mod.ts"; const { hex } = Bson; FunctionsfBson.hex.decodeDecodes src into src.length / 2 bytes. If the input is malformed, an error will be thrown. fBson.hex.encodeEncodes src into src.length * 2 bytes.