Code example for ObjectOutput

Methods: writeByte

0
		stop = input.readByte();
	} 
 
	@Override 
	public void writeExternal(ObjectOutput output) throws IOException {
		output.writeByte(start);
		output.writeByte(stop);
	} 
} 
Experience pair programming with AI  Get Codota for Java