org.mp4parser.muxer.RandomAccessSource Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of muxer Show documentation
Show all versions of muxer Show documentation
This package has a focus on file operation. It can read A/V data from Random Access Datasources
package org.mp4parser.muxer;
import java.io.Closeable;
import java.io.IOException;
import java.nio.ByteBuffer;
/**
* Allows random access to some data source as some data structure such as chunks in an mdat
* require random access with absolute offsets.
*/
public interface RandomAccessSource extends Closeable {
ByteBuffer get(long offset, long size) throws IOException;
}