@Override public void write(@NotNull Bytes bytes, @Nullable E e) { bytes.writeUTFΔ(e == null ? "" : e.name()); }
@Override public void writeExternal(ObjectOutput out) throws IOException { Bytes b = (Bytes) out; b.writeStopBit(x); b.writeUTFΔ(y); }
@Override public void write(@NotNull Bytes bytes, @Nullable E e) { bytes.writeUTFΔ(e == null ? null : e.toString()); }