Package herddb.utils

Class SimpleByteArrayInputStream

  • All Implemented Interfaces:
    Closeable, AutoCloseable

    public final class SimpleByteArrayInputStream
    extends InputStream
    A very simple InputStream which wraps a byte buffer
    Author:
    enrico.olivelli
    • Constructor Detail

      • SimpleByteArrayInputStream

        public SimpleByteArrayInputStream​(byte[] buf)
      • SimpleByteArrayInputStream

        public SimpleByteArrayInputStream​(byte[] buf,
                                          int offset,
                                          int length)