BlobToString (open)

Convert a blob to a string

Syntax

LOADLIB "wh::files.whlib";

STRING FUNCTION BlobToString(BLOB data, INTEGER maxlen)

Parameters

BLOB data

Blob to read

INTEGER maxlen

Maximum number of bytes to convert, if -1 or unspecified, convert all blob data

Return value

STRING

The blob as a string