4142434445464748495051
} public void readData(SpoutInputStream input) throws IOException { customId = input.readShort(); data = (byte) input.read(); design = new GenericBlockDesign(); design.read(input); if (design.getReset()) { design = null; } }
5455565758596061
output.writeShort(customId); output.write(data); if (design != null) { design.write(output); } else { new GenericBlockDesign().writeReset(output); } }