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 22 and later
WEBDEV - Server codePHP This function is now available for the PHP sites.
New in version 22
WEBDEV - Server codePHP This function is now available for the PHP sites.
WEBDEV - Server codePHP This function is now available for the PHP sites.
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