Function deserialize

  • Deserialize data as BSON.

    Parameters

    • buffer: Uint8Array

      the buffer containing the serialized set of BSON documents.

    • Optionaloptions: DeserializeOptions

    Returns Document

    returns the deserialized Javascript Object.