Legato
Legato

GoFiler Legato Script Reference

 

Legato v 1.5d

Application v 5.25a

  

 

Chapter FiveGeneral Functions (continued)

HexBufferToString Function

Overview

The HexBufferToString function converts a variable or literal value to a continuous stream of hexadecimal bytes.

Syntax/Parameters

Syntax

string = HexBufferToString ( parameter data, [int size] );

Parameters

data

A variable or literal or calculated value. If a variable is supplied, it can be an array or a complex object. If it is an object or array, it must be structured as contiguous memory.

size

An optional int containing a requested size, which must be less than or equal to the actual size.

Return Value

Returns a string containing a translation of the binary form of data or an empty string on failure. Use the GetLastError function to retrieve error information.

Remarks

The resultant string cannot be larger than 1 MB.

Related Functions

Platform Support

Go13, Go16, GoFiler Complete, GoFiler Corporate, GoFiler, GoFiler Lite, GoXBRL

Legato IDE, Legato Basic