       @chunkOffsets.push bits.read_uint32()
     return
 
+  # Returns a position of the chunk relative to the beginning of the file
   getChunkOffset: (chunkNumber) ->
     if (chunkNumber <= 0) or (chunkNumber > @chunkOffsets.length)
       throw new Error "Chunk number of out of range: #{chunkNumber}"

    obj.sampleNumbers = @sampleNumbers
    return obj

# stsc: sample-to-chunk, partial data-offset information
class SampleToChunkBox extends Box
  read: (buf) ->
    bits = new Bits buf

      obj.entrySizes = @entrySizes
    return obj

# stco: chunk offsets relative to the beginning of the file
class ChunkOffsetBox extends Box
  read: (buf) ->
    bits = new Bits buf
