void function ( ) { long loc0 = getCRC32 ( ) ; long loc1 = calcCRC32 ( ) ; if ( loc1 != loc0 ) { throw new IOException ( String . format ( "srini_string" , loc1 , loc0 ) ) ; } }
checks the data integrity by comparing the saved crc32 checksum with the actual checksum . if no exception is thrown , the data is ok . concode_field_sep ByteBuffer bb concode_elem_sep int offset concode_elem_sep int size concode_elem_sep String name concode_elem_sep boolean readOnly concode_elem_sep long crc32 concode_elem_sep String type concode_elem_sep String dir concode_elem_sep byte[] preload concode_elem_sep File vpkFile concode_field_sep void setName concode_elem_sep String getName concode_elem_sep int getOffset concode_elem_sep void setDir concode_elem_sep void setPreloadData concode_elem_sep void setPath concode_elem_sep long getCRC32 concode_elem_sep void setType concode_elem_sep File getFile concode_elem_sep int getPreloadSize concode_elem_sep long calcCRC32 concode_elem_sep byte[] getPreloadData concode_elem_sep int getSize concode_elem_sep void setSize concode_elem_sep void setCRC32 concode_elem_sep String getType concode_elem_sep void setOffset concode_elem_sep void setPreloadSize concode_elem_sep String getPath concode_elem_sep String toString concode_elem_sep void updateCRC32 concode_elem_sep int getDataSize concode_elem_sep ByteBuffer getData concode_elem_sep String getDir