mirror of
https://github.com/AppleCommander/ShrinkItArchive.git
synced 2024-06-11 20:29:32 +00:00
Add a little commentary
This commit is contained in:
parent
7f3acacea6
commit
499ffca9bb
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user