code: public void writeSymbol(Symbol symbol) throws IOException {
  		_writeArrayFieldNameIfNeeded();
  		_verifyValueWrite("write symbol");
  		_buffer.putByte(_typeMarker, BsonConstants.TYPE_SYMBOL);
  		_writeString(symbol.getSymbol());
  		flushBuffer();
  	}
docs: Write a BSON Symbol object
  
  @param symbol The symbol to write
  @throws IOException If an error occurred in the stream while writing