static void expectZeroBytes(Input di, int count) throws IOException, ItlException { expectZeroBytes(di, count, ""); }
static String readGenericHohm(Input di) throws IOException, ItlException { byte[] unknown = new byte[12]; di.readFully(unknown); int dataLength = di.readInt(); expectZeroBytes(di, 8, " in HOHM block"); byte[] data = new byte[dataLength]; di.readFully(data); return toString(data, unknown[11]); }
expectZeroBytes(di, 40);
expectZeroBytes(di, 4); consumed += 8; expectZeroBytes(di, 8); consumed += 8; byte[] xmlBa = new byte[recLength - consumed]; expectZeroBytes(di, 8); expectZeroBytes(di, 8);