fromAscii

Helper function that will convert ASCII to HEX

Usage

visionWeb.fromAscii(str);

Parameters

ParameterDescriptionTypeDefault
strString to convert to hex from ASCII.string-

Returns

String

Example

visionWeb.fromAscii("vision");
> 0x766973696f6e