**/ \r
public void bufferToStruct (byte[] dataBuffer){\r
if (dataBuffer.length != 16) {\r
- throw new BuildException ("Buffer is not fitting GUID type!");\r
+ throw new BuildException ("Buffer is not sized [" + dataBuffer.length + "] for data type, GUID!");\r
}\r
\r
data1 = (int)(dataBuffer[3]& 0xff);\r
\r
This class is used to record the struct of checksum.\r
**/\r
- public class integrityCheckSum {\r
+ public class IntegrityCheckSum {\r
byte header;\r
byte file;\r
}\r
///\r
/// CheckSum\r
///\r
- integrityCheckSum integrityCheck = new integrityCheckSum();\r
+ IntegrityCheckSum integrityCheck = new IntegrityCheckSum();\r
\r
///\r
/// File type\r