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

An [IInput](IInput) backed by an [IDataProvider](IDataProvider). Entry bytes are fetched on demand and may be fully materialized when random\-access operations are requested.

## Constructor: LazyInput
- parameter: `prv`, type: `com.pnfsoftware.jeb.core.input.IDataProvider`
- parameter: `entryName`, type: `java.lang.String`
- parameter: `hintEntrySize`, type: `long`

Description: Create a lazy input for a provider entry.
parameter: prv: backing provider
parameter: entryName: entry name within the provider
parameter: hintEntrySize: known entry size, or a negative value if it should be resolved lazily

## Constructor: LazyInput
- parameter: `prv`, type: `com.pnfsoftware.jeb.core.input.IDataProvider`
- parameter: `entryName`, type: `java.lang.String`
- parameter: `hintEntrySize`, type: `long`
- parameter: `id`, type: `int`

Description: Create a lazy input for a provider entry.
parameter: prv: backing provider
parameter: entryName: entry name within the provider
parameter: hintEntrySize: known entry size, or a negative value if it should be resolved lazily
parameter: id: optional provider\-specific entry identifier

## 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`


