- TIBCO BusinessEvents®
- Standard
- Engine

# Engine.loadResourceAsByte()

## Signature

`Object loadResourceAsByte(String uri)`

## Domain

ACTION, CONDITION, QUERY, BUI

## Description

When a relative path to a file is provided, then the byte representation of the file contents are returned.

## Parameters

Name | Type | Description
--- | --- | ---
`uri` | `String` | Relative path of a file if any uri is provided, else null.

## Returns

Type | Description
--- | ---
`Object` | Returns the contents of the file the uri is pointing to in a byte array format.

## Cautions

none