Sign in Join
FPDoc Onlineexperiment

dbgMemRange function

In unit LazLoggerBase

Generates a message with the hexadecimal-encoded content for the specified block of memory and size.

Declaration

pascal
function dbgMemRange(P: Pointer; Count: Integer; Width: Integer=0)
: string; overload

Arguments

P

Untyped pointer to the byte values examined in the routine.

Count

Number of bytes from the pointer to include in the message.

Width

Maximum number of columns to use in the formatted message string. A LineEnd sequence is inserted in the message when Width is exceeded.

Function result

String with the contents from the specified memory block formatted as hexadecimal characters.

Description

Nothing more than the line above yet.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.