Creates a new BSONDocument containing all the elements
in the given Traversable
.
Creates a new BSONDocument containing all the given elements
.
Creates a BSONDocument from the given elements set.
An empty BSONDocument.
Returns a String representing the given BSONDocument.
Reads a document
from the buffer
.
Reads a document
from the buffer
.
Note that the buffer's readerIndex must be set on the start of a document, or it will fail.
Writes the document
into the buffer
.