Example #1
0
 public int getIndex() {
   return Util.readIntBE(index);
 }
 /**
  * <b>Note that the return value from this function should be interpreted as an unsigned integer,
  * for instance using Util.unsign(...).</b>
  */
 public int getRawSbBlkCount() {
   return Util.readIntBE(sbBlkCount);
 }
 /**
  * <b>Note that the return value from this function should be interpreted as an unsigned integer,
  * for instance using Util.unsign(...).</b>
  */
 public int getRawSbData() {
   return Util.readIntBE(sbData);
 }
 private long getDataLength(long dataPos) {
   byte[] dataLengthBytes = new byte[4];
   forkStream.readFrom(dataPos, dataLengthBytes);
   return Util.unsign(Util.readIntBE(dataLengthBytes));
 }