Package com.mongodb

Interface DBEncoder

    • Method Detail

      • writeObject

        int writeObject​(OutputBuffer outputBuffer,
                        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