Docs Menu
API Developer Guide / middleware / pub / io / bytesToStream

Service: bytesToStream

This service converts a byte array to an input stream of bytes.

Input Parameter:

Name Type Description
bytes: Byte Array Input data in bytes
length: String Length of the Byte Array
offset: Integer The starting index within the byte array (usually starting from 0).

Output Parameter:

Name Type Description
inputStream: Object Represents an input stream of bytes.