public long create_chunk_offset_atom(MP4DataStream bitstream) throws IOException {
  create_full_atom(bitstream);
  chunks=new Vector<Long>();
  entryCount=(int)bitstream.readBytes(4);
  readed+=4;
  for (int i=0; i < entryCount; i++) {
    long chunkOffset=bitstream.readBytes(4);
    chunks.addElement(Long.valueOf(chunkOffset));
    readed+=4;
  }
  return readed;
}

public long create_chunk_offset_atom ( MP4DataStream bitstream ) throws IOException { create_full_atom ( bitstream ) ; chunks = new Vector < Long > ( ) ; entryCount = ( int ) bitstream . readBytes ( 4 ) ; readed += 4 ; for ( int i = 0 ; i < entryCount ; i ++ ) { long chunkOffset = bitstream . readBytes ( 4 ) ; chunks . addElement ( Long . valueOf ( chunkOffset ) ) ; readed += 4 ; } return readed ; }
loads chunkoffset atom from the input bitstream .
