Back to product page

ToHex method (FileBlob)


Returns the contents of the Blob in a hex encoded string.

Type

A String value. HEX representation of Blob contents.

Syntax

  • Basic
object.ToHex
The ToHex(object) syntax has these parts:
object An expression evaluating to an object of type FileBlob

Remarks

WARNING: you should not use this method with large files, or large amounts of data!

The ToHex property will return a HEX representation of data currently contained by the Blob. It is most often used because it is easier to represent binary data this way for transfer by text-only services, such as email.

To get such HEX data back into the Blob, you should use the FromHex method.

Code sample

  • Basic

Platforms

Windows