@Override public void serialize(byte[] record, DataOutputView target) throws IOException { if (record == null) { throw new IllegalArgumentException("The record must not be null."); } target.skipBytesToWrite(1); target.write(record); }
@Override public void serialize(byte[] record, DataOutputView target) throws IOException { if (record == null) { throw new IllegalArgumentException("The record must not be null."); } target.skipBytesToWrite(1); target.write(record); }