docs: public void write( Object object,
                         OutputStream stream ) throws IOException {
          BsonDataOutput buffer = new BsonDataOutput();
          write(null, object, buffer);
          buffer.writeTo(stream);
      }