PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | French EN
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Converts a string with hexadecimal bytes to a binary buffer.
Remark: To convert a buffer to a hexadecimal string, use BufferToHexa.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
Java This function is now available for Java applications.
Android This function is now available for Android applications.
Android Widget This function is now available in Android Widget mode.
iPhone/iPad This function is now available for iPhone/iPad applications.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
Java This function is now available for Java applications.
Android This function is now available for Android applications.
Android Widget This function is now available in Android Widget mode.
iPhone/iPad This function is now available for iPhone/iPad applications.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Java This function is now available for Java applications.
Android This function is now available for Android applications.
Android Widget This function is now available in Android Widget mode.
iPhone/iPad This function is now available for iPhone/iPad applications.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Versions 22 and later
WEBDEV - Server codePHP This function is now available for PHP sites.
New in version 22
WEBDEV - Server codePHP This function is now available for PHP sites.
WEBDEV - Server codePHP This function is now available for PHP sites.
Versions 25 and later
WEBDEV - Browser code This function is now available in browser code.
New in version 25
WEBDEV - Browser code This function is now available in browser code.
WEBDEV - Browser code This function is now available in browser code.
Versions 26 and later
Apple Watch This function is now available for Apple Watch applications.
New in version 26
Apple Watch This function is now available for Apple Watch applications.
Apple Watch This function is now available for Apple Watch applications.
Example
s is UNICODE string = "abdcefghijkl"
buf is Buffer = BufferToHexa(s)
 
s2 is UNICODE string = HexaToBuffer(buf)
// s2 = s
Syntax
<Result> = HexaToBuffer(<Hexadecimal value> [, <Nb bytes per word> [, <Option>]])
<Result>: Buffer
Conversion result.
<Hexadecimal value>: Character string (with quotes)
Hexadecimal value to convert.
<Nb bytes per word>: Optional integer or constant
Format for grouping values in <Hexadecimal value>. Can correspond to:
  • 1 (default value): the values are grouped by byte.
  • 2: the values are grouped by word of 2 bytes.
  • 4: the values are grouped by double word of 4 bytes.
  • the NoGrouping constant: no grouping will be done. All hexadecimal codes are written without spaces in the <Hexadecimal value> parameter. Example: 61002345A1.
<Option>: Optional Integer constant
By default, <Hexadecimal value> is grouped according to the Little-Endian format (most significant bytes at the end, like in x86).
To manage a grouping in Big-Endian format, use the BigEndian constant.
Business / UI classification : Neutral code
Component : wd260std.dll
Minimum version required
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment