binaryToHexString

Top  Previous  Next

Definition

hex math.binaryToHexString ( binary )

 

Name

Type

Description

binary

string

Binary representation of hex

hex

string

Hex string for example "0A A0 BF 23"

Example

print( math.binaryToHexString( "Hello World" ) )

 

This will print "48 65 6C 6C 6F 20 57 6F 72 6C 64"