Package com.mongodb

Interface DBEncoder

    • Method Detail

      • writeObject

        int writeObject​(org.bson.io.OutputBuffer outputBuffer,
                        org.bson.BSONObject document)
        Encode the BSONObject.
        Parameters:
        outputBuffer - the OutputBuffer to write to
        document - the BSONObject to write
        Returns:
        the number of characters in the encoding