Package ij.io

Class RandomAccessStream

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public final class RandomAccessStream
    extends InputStream
    This class uses a memory cache to allow seeking within an InputStream. Based on the JAI MemoryCacheSeekableStream class. Can also be constructed from a RandomAccessFile, which uses less memory since the memory cache is not required.