Class SeekableByteArrayInputStream

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public class SeekableByteArrayInputStream
    extends InputStream
    This class is like byte array input stream with two differences. It supports seeking and avoids synchronization.
    • Constructor Detail

      • SeekableByteArrayInputStream

        public SeekableByteArrayInputStream​(byte[] buf)
      • SeekableByteArrayInputStream

        public SeekableByteArrayInputStream​(byte[] buf,
                                            int maxOffset)