Class WrappedSeekableByteChannel

java.lang.Object
org.epics.archiverappliance.utils.nio.WrappedSeekableByteChannel
All Implemented Interfaces:
Closeable, AutoCloseable, ByteChannel, Channel, ReadableByteChannel, SeekableByteChannel, WritableByteChannel

public class WrappedSeekableByteChannel extends Object implements SeekableByteChannel
Compressed files typically do not let us seek arbitrarily within the stream. This is a inefficient workaround for this. This can be improved with ZRan like functionality later if needed. This implements a read only seekable byte channel over a one way input stream.
Author:
mshankar