readDocument

Instantiates a new BSON document by reading its bytes representation.

The reverse operation is available as Bson.toByteArray.