PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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 representing bytes in hexadecimal into a binary buffer.
Note: To convert a buffer into 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 the Java 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 the Java applications.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Java This function is now available for the Java 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.
Example
sMyString is UNICODE string = "A0F5"
bufMyBuffer is Buffer = BufferToHexa(sMyString)

sMyString2 is UNICODE string = HexaToBuffer(bufMyBuffer)
// sMyString2 = sMyString
Syntax
HexaToBuffer(<Hexadecimal Value> [, <Nb Bytes per Word>])
<Hexadecimal Value>: Character string (with quotes)
Hexadecimal value to convert.
<Nb Bytes per Word>: Integer
Number of bytes displayed per word. This parameter 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.
Component : wd240std.dll
Minimum version required
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment