Add a little commentary

This commit is contained in:
2012-07-05 19:24:34 +00:00
parent 7f3acacea6
commit 499ffca9bb

View File

@ -31,10 +31,11 @@ public class MasterHeaderBlock {
* Create the Master Header Block, based on the LittleEndianByteInputStream. * Create the Master Header Block, based on the LittleEndianByteInputStream.
*/ */
public MasterHeaderBlock(LittleEndianByteInputStream bs) throws IOException { public MasterHeaderBlock(LittleEndianByteInputStream bs) throws IOException {
int headerOffset = 0; int headerOffset = 0; // Binary II wrappers will need to bump out the normal header size
nuFileId = bs.readBytes(6); nuFileId = bs.readBytes(6);
if (checkId(nuFileId,BXY_ID)) { if (checkId(nuFileId,BXY_ID)) {
// Binary II wrapper present...
bs.readBytes(127 - NUFILE_ID.length); bs.readBytes(127 - NUFILE_ID.length);
headerOffset = 128; headerOffset = 128;
int count = bs.read(); int count = bs.read();