public void write(Encoder encoder, ResolvedInclude value) throws Exception { encoder.writeString(value.getInclude()); if (value.getFile() == null) { encoder.writeBoolean(false); } else { encoder.writeBoolean(true); fileSerializer.write(encoder, value.getFile()); } }
public void write(Encoder encoder, byte[] value) throws Exception { encoder.writeSmallInt(value.length); encoder.writeBytes(value); }
public void write(Encoder encoder, CompilationState value) throws Exception { encoder.writeInt(SERIAL_VERSION); fileListSerializer.write(encoder, value.sourceInputs); stateMapSerializer.write(encoder, value.fileStates); }