Class ByteArrayInputStream

java.lang.Object
java.io.InputStream
org.fusesource.hawtbuf.ByteArrayInputStream
All Implemented Interfaces:
Closeable, AutoCloseable

public class ByteArrayInputStream extends InputStream
Very similar to the java.io.ByteArrayInputStream but this version is not thread safe.
  • Field Details

    • buffer

      byte[] buffer
    • limit

      int limit
    • pos

      int pos
    • mark

      int mark
  • Constructor Details

    • ByteArrayInputStream

      public ByteArrayInputStream(byte[] data)
    • ByteArrayInputStream

      public ByteArrayInputStream(Buffer buffer)
    • ByteArrayInputStream

      public ByteArrayInputStream(byte[] data, int offset, int size)
  • Method Details