FileDocCategorySizeDatePackage
ChunkOffset64BitBox.javaAPI Docmp4parser 1.0-RC-171288Wed Dec 19 20:10:38 GMT 2012com.coremedia.iso.boxes

ChunkOffset64BitBox

public class ChunkOffset64BitBox extends ChunkOffsetBox
Abstract Chunk Offset Box

Fields Summary
public static final String
TYPE
private long[]
chunkOffsets
Constructors Summary
public ChunkOffset64BitBox()


      
        super(TYPE);
    
Methods Summary
public void_parseDetails(java.nio.ByteBuffer content)

        parseVersionAndFlags(content);
        int entryCount = l2i(IsoTypeReader.readUInt32(content));
        chunkOffsets = new long[entryCount];
        for (int i = 0; i < entryCount; i++) {
            chunkOffsets[i] = IsoTypeReader.readUInt64(content);
        }
    
public long[]getChunkOffsets()

        return chunkOffsets;
    
protected voidgetContent(java.nio.ByteBuffer byteBuffer)

        writeVersionAndFlags(byteBuffer);
        IsoTypeWriter.writeUInt32(byteBuffer, chunkOffsets.length);
        for (long chunkOffset : chunkOffsets) {
            IsoTypeWriter.writeUInt64(byteBuffer, chunkOffset);
        }
    
protected longgetContentSize()

        return 8 + 8 * chunkOffsets.length;