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

Location information within binary input, consisting of an offset and an optional size, plus optional source metadata.

## Constructor: FileInputRegionInformation
- parameter: `offset`, type: `long`

Description: Create a new location object with an unknown size.
parameter: offset: mandatory offset

## Constructor: FileInputRegionInformation
- parameter: `offset`, type: `long`
- parameter: `size`, type: `long`

Description: Create a new location object.
parameter: offset: the non\-negative offset
parameter: size: optional size, zero to indicate an unknown size

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

Description: Create a new location object.
parameter: offset: the non\-negative offset
parameter: size: optional size, zero to indicate an unknown size
parameter: input: optional input, if the input object is not known \(or unclear\) by the client

## Constructor: FileInputRegionInformation
- parameter: `offset`, type: `long`
- parameter: `size`, type: `long`
- parameter: `input`, type: `com.pnfsoftware.jeb.core.input.IInput`
- parameter: `info`, type: `java.lang.String`

Description: Create a new location object.
parameter: offset: the non\-negative offset
parameter: size: optional size, zero to indicate an unknown size
parameter: input: optional input, if the input object is not known \(or unclear\) by the client
parameter: info: optional information string

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

Description: Get the optional descriptive string associated with this location.
return: the descriptive string, or `null` if none was provided

## Method: getInput
- return type: `com.pnfsoftware.jeb.core.input.IInput`

Description: Get the input object.
return: the optional input object, may be null if unspecified

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

Description: Get the location offset in bytes, relative to the beginning of the input.
return: the non\-negative offset

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

Description: Get the location size in bytes.
return: the optional size; `0` generally indicates an unspecified size, and negative         values are preserved as provided by the creator

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


