question: public long create_time_to_sample_atom ( MP4DataStream bitstream ) throws IOException { log . trace ( "Time to sample atom" ) ; create_full_atom ( bitstream ) ; timeToSamplesRecords = new Vector < TimeSampleRecord > ( ) ; entryCount = ( int ) bitstream . readBytes ( 4 ) ; log . trace ( "Time to sample entries: {}" , entryCount ) ; readed += 4 ; for ( int i = 0 ; i < entryCount ; i ++ ) { int sampleCount = ( int ) bitstream . readBytes ( 4 ) ; int sampleDuration = ( int ) bitstream . readBytes ( 4 ) ; timeToSamplesRecords . addElement ( new TimeSampleRecord ( sampleCount , sampleDuration ) ) ; readed += 8 ; } return readed ; }
target:  Loads MP4TimeToSampleAtom atom from the input bitstream.