Description
The bsonrw.ValueReader implementation for BSON doesn't support calling ReadValueBytes on a top level document. This makes it impossible to support bson.Marshaler from the top level. Add support for retrieving the bytes of the entire document from ReadValueBytes.