Code example for ObjectInput

Methods: readIntreadLongreadUnsignedByte

0
		out.writeLong(checksumValue);
	} 
 
	public void readExternal(ObjectInput in) throws IOException, ClassNotFoundExceptionchecksumAlgo = (byte) in.readUnsignedByte();
		dataLength = in.readInt();
		checksumValue = in.readLong();
		initializeChecksumAlgo(); 
	} 
 
 
	public int getStoredSize() 
	{ 
		return formatLength + 1 + 4 + 8;
	}	 
 
 
 
	/** 
Connect your IDE to all the code out there  Get Codota for Java