# Class: com.pnfsoftware.jeb.core.input.SubInput

An [IInput](IInput) exposing a bounded view of another input.

## Constructor: SubInput
- parameter: `input`, type: `com.pnfsoftware.jeb.core.input.IInput`
- parameter: `offset`, type: `long`
- parameter: `size`, type: `long`

Description: Create a sub\-input backed by a contiguous region of another input.
parameter: input: source input
parameter: offset: start offset within the source input
parameter: size: size of the exposed region, in bytes
throws: on I/O error while preparing the sub\-input header

## Method: canRead
- return type: `boolean`


## Method: close


## Method: getChannel
- return type: `java.nio.channels.SeekableByteChannel`


## Method: getCurrentSize
- return type: `long`


## Method: getHeader
- return type: `java.nio.ByteBuffer`


## Method: getName
- return type: `java.lang.String`


## Method: getStream
- return type: `java.io.InputStream`


