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

Static helper methods for [IInput](IInput).

## Constructor: InputHelper


## Static Method: readBytes
- parameter: `src`, type: `com.pnfsoftware.jeb.core.input.IInput`
- parameter: `srcOffset`, type: `long`
- parameter: `dst`, type: `byte[]`
- parameter: `dstOffset`, type: `int`
- parameter: `size`, type: `int`
- return type: `int`

Description: Convenience method to read bytes from an input source.
parameter: src: source input
parameter: srcOffset: offset within the source \(this amount of bytes will be skipped\)
parameter: dst: destination array
parameter: dstOffset: offset within the destination where bytes will be written
parameter: size: count of bytes to read from the source and write to the destination
return: the number of bytes that were actually read, \-1 if there is no more bytes to be read
throws: on IO error

## Static Method: wrapBytes
- parameter: `data`, type: `byte[]`
- return type: `com.pnfsoftware.jeb.core.input.IInput`

Description: Create or retrieve an input object wrapping a given byte array.
parameter: data: the data array to be wrapped, cannot be null
return: a new or existing input object wrapping data

