public DataOutputX writeText(StringBuffer s) throws IOException { if (s == null) { writeByte((byte) 0); } else { writeBlob(s.toString().getBytes("UTF8")); } return this; }
public DataOutputX writeText(String s) throws IOException { if (s == null) { writeByte((byte) 0); } else { writeBlob(s.getBytes("UTF8")); } return this; }
public DataOutputX writeText(String s) throws IOException { if (s == null) { writeByte((byte) 0); } else { writeBlob(s.getBytes("UTF8")); } return this; }
public DataOutputX writeText(StringBuffer s) throws IOException { if (s == null) { writeByte((byte) 0); } else { writeBlob(s.toString().getBytes("UTF8")); } return this; }
public DataOutputX writeText(String s) throws IOException { if (s == null) { writeByte((byte) 0); } else { writeBlob(s.getBytes("UTF8")); } return this; }
public DataOutputX writeText(StringBuffer s) throws IOException { if (s == null) { writeByte((byte) 0); } else { writeBlob(s.toString().getBytes("UTF8")); } return this; }
public DataOutputX writeText(String s) throws IOException { if (s == null) { writeByte((byte) 0); } else { writeBlob(s.getBytes("UTF8")); } return this; }
public byte[] encode(byte[] data) { try { data = new DataOutputX().writeBlob(data).toByteArray(); byte[] plainBytes = padding(data); return enc.doFinal(plainBytes); } catch (Exception e) { e.printStackTrace(); } return null; }
public void write(DataOutputX out) throws IOException { out.writeDecimal(time); out.writeDecimal(objHash); out.writeBlob(data); }
public void write(DataOutputX dout) throws IOException { dout.writeLong(gxid); dout.writeDecimal(spanCount); dout.writeLong(timestamp); dout.writeBlob(spans); }
public void write(DataOutputX dout) throws IOException { dout.writeLong(gxid); dout.writeDecimal(spanCount); dout.writeLong(timestamp); dout.writeBlob(spans); }
public void write(DataOutputX out) throws IOException { super.write(out); out.writeBlob(ipaddr); out.writeDecimal(port); out.writeDecimal(elapsed); out.writeDecimal(error); }
public void write(DataOutputX out) throws IOException { out.writeBlob(ipaddr); out.writeDecimal(port); out.writeDecimal(count); out.writeDecimal(elapsed); out.writeDecimal(error); }
public void write(DataOutputX out) throws IOException { out.writeBlob(ipaddr); out.writeDecimal(port); out.writeDecimal(count); out.writeDecimal(elapsed); out.writeDecimal(error); }
public void write(DataOutputX dout) throws IOException { dout.writeDecimal(time); dout.writeDecimal(objHash); dout.writeDecimal(service); dout.writeLong(txid); dout.writeBlob(profile); }
public void write(DataOutputX out) throws IOException { out.writeBlob(ipaddr); out.writeDecimal(port); out.writeDecimal(count); out.writeDecimal(elapsed); out.writeDecimal(error); }
public void write(DataOutputX out) throws IOException { super.write(out); out.writeBlob(ipaddr); out.writeDecimal(port); out.writeDecimal(elapsed); out.writeDecimal(error); }
public void write(DataOutputX dout) throws IOException { dout.writeDecimal(time); dout.writeDecimal(objHash); dout.writeDecimal(service); dout.writeLong(txid); dout.writeBlob(profile); }
public void write(DataOutputX out) throws IOException { super.write(out); out.writeBlob(ipaddr); out.writeDecimal(port); out.writeDecimal(elapsed); out.writeDecimal(error); }
public void write(DataOutputX out) throws IOException { super.write(out); out.writeBlob(ipaddr); out.writeDecimal(port); out.writeDecimal(elapsed); out.writeDecimal(error); }