code: protected int _writeCString(String string) throws IOException {
  		//escape characters if necessary
  		string = escapeCharacters(string);
  		int l = _buffer.putUTF8(string);
  		_buffer.putByte(BsonConstants.END_OF_STRING);
  		return l + 1;
  	}
docs: Write a BSON cstring structure (a null terminated string)
  
  @param string The string to write
  @return The number of bytes written, including the terminating null byte
  @throws IOException If an error occurred in the stream while writing