public Mp4StcoBox(Mp4BoxHeader header,ByteBuffer buffer){
  this.header=header;
  dataBuffer=buffer.slice();
  dataBuffer.position(dataBuffer.position() + VERSION_FLAG_LENGTH + OTHER_FLAG_LENGTH);
  this.noOfOffSets=Utils.getIntBE(dataBuffer,dataBuffer.position(),(dataBuffer.position() + NO_OF_OFFSETS_LENGTH - 1));
  dataBuffer.position(dataBuffer.position() + NO_OF_OFFSETS_LENGTH);
  firstOffSet=Utils.getIntBE(dataBuffer,dataBuffer.position(),(dataBuffer.position() + OFFSET_LENGTH - 1));
}

public Mp4StcoBox ( Mp4BoxHeader header , ByteBuffer buffer ) { this . header = header ; dataBuffer = buffer . slice ( ) ; dataBuffer . position ( dataBuffer . position ( ) + VERSION_FLAG_LENGTH + OTHER_FLAG_LENGTH ) ; this . noOfOffSets = Utils . getIntBE ( dataBuffer , dataBuffer . position ( ) , ( dataBuffer . position ( ) + NO_OF_OFFSETS_LENGTH - 1 ) ) ; dataBuffer . position ( dataBuffer . position ( ) + NO_OF_OFFSETS_LENGTH ) ; firstOffSet = Utils . getIntBE ( dataBuffer , dataBuffer . position ( ) , ( dataBuffer . position ( ) + OFFSET_LENGTH - 1 ) ) ; }
construct box from data and show contents
