• Deserialize data as BSON.

    Parameters

    • buffer: Uint8Array

      the buffer containing the serialized set of BSON documents.

    • Optional options: DeserializeOptions
      Optional

    Returns mongoose.mongo.BSON.Document

    returns the deserialized Javascript Object.

Generated using TypeDoc