# Class: com.pnfsoftware.jeb.core.input.SubInput
- Super class: `java.lang.Object`
- Super interfaces: `com.pnfsoftware.jeb.core.input.IInput`

An [IInput](com.pnfsoftware.jeb.core.input.IInput.md) 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`
- throws: `java.io.IOException`

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`
- throws: `java.io.IOException`


## 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`
- throws: `java.io.IOException`


