org.apache.commons.io.output

## Interface AbstractByteArrayOutputStream.InputStreamConstructor<T extends InputStream>

- Type Parameters:
    `T` - the type of the InputStream.
  Enclosing class:
    AbstractByteArrayOutputStream
  Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

      @FunctionalInterface
      protected static interface AbstractByteArrayOutputStream.InputStreamConstructor<T extends InputStream>

  Constructor for an InputStream subclass.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `T` | `construct(byte[] buf, int offset, int length)` Construct an InputStream subclass.

- - ### Method Detail

    - #### construct

          T construct(byte[] buf,
                      int offset,
                      int length)

      Construct an InputStream subclass.
      Parameters:
        `buf` - the buffer
        `offset` - the offset into the buffer
        `length` - the length of the buffer
      Returns:
        the InputStream subclass.

Copyright © 2002–2020 The Apache Software Foundation. All rights reserved.