Code example for ObjectOutput

Methods: writeByte

0
		stop = input.readByte();
	} 
 
	@Override 
	public void writeExternal(ObjectOutput output) throws IOException {
		output.writeByte(start);
		output.writeByte(stop);
	} 
} 
Contextual code suggestions in your IDE  Get Codota for Java