mem_dump prints a string as a memory block into the command window.
Return Value
n is the string length. If bStringReturn is TRUE (1) the function returns a string value.
Parameters
ssString is a string that may contain NULL characters.
offset is the start position in ssString. Default value is 0.
If bStringReturn is TRUE (1) the function returns a string value. Default value is FALSE (0).
Example
* mem_dump("Hello")
00000000 48 00 65 00 6c 00 6c 00-6f 00 H.e.l.l.-o
10.0000
* mem_dump("Hello\x00Hello")
00000000 48 00 65 00 6c 00 6c 00-6f 00 00 00 48 00 65 00 H.e.l.l.-o...H.e.
00000010 6c 00 6c 00 6f 00 l.l.o.
22.0000
History
| Version | Description |
|---|---|
| 5.9 | New parameter bStringReturn. |
| 5.0 | New. |
See also
id-1714994