Creates a BSONDocumentReader based on the given read function.
Creates a BSONDocumentReader based on the given partial function.
Creates a BSONDocumentReader based on the given read function.