import { Bson } from "https://deno.land/x/aether@v0.0.3/deps.ts";
const { deserializeStream } = Bson;
Deserialize stream data as BSON documents.
Parameters
- the buffer containing the serialized set of BSON documents.
documents: Document[]
- an array where to store the deserialized documents.
optional
options: DeserializeOptions- additional options used for the deserialization.