public void write(Bytes bytes, C c) { if (c == null) { bytes.writeStopBit(NULL_LENGTH); return; } bytes.writeStopBit(c.size()); for (E e : c) { eBytesMarshaller.write(bytes, e); } }
@Override public void writeExternal(ObjectOutput out) throws IOException { Bytes b = (Bytes) out; b.writeStopBit(x); b.writeUTFΔ(y); }