code: @Override
  	public String encodeAsString() throws IOException {
  		ByteArray byteArray = encodeAsByteArray();
  		if(byteArray.size == 0) return "";
  		return new String(Base64Coder.encode(byteArray.array, byteArray.size));
  	}
docs: base-64 encodes the message.