InitChunk(byte[] buf, int off) { super(buf, off); if (_type != Chunk.CHUNK_TYPE_INIT) throw new RuntimeException("This is not an INIT chunk!"); if (_len != INIT_CHUNK_LENGTH) throw new RuntimeException("Invalid chunk length field for INIT chunk!"); _validation = ByteConverter.from4BytesToUnsignedInt(_buf, _off + Chunk.CHUNK_HEADER_SIZE); _initialControlTSN = ByteConverter.from4BytesToUnsignedInt(_buf, _off + Chunk.CHUNK_HEADER_SIZE + 4); _initialRelSeqTSN = ByteConverter.from4BytesToUnsignedInt(_buf, _off + Chunk.CHUNK_HEADER_SIZE + 8); _initialUnrelSeqTSN = ByteConverter.from4BytesToUnsignedInt(_buf, _off + Chunk.CHUNK_HEADER_SIZE + 12); _initialRelUnseqID = ByteConverter.from4BytesToUnsignedInt(_buf, _off + Chunk.CHUNK_HEADER_SIZE + 16); _initialUnrelUnseqID = ByteConverter.from4BytesToUnsignedInt(_buf, _off + Chunk.CHUNK_HEADER_SIZE + 20); }