Sign in Join
FPDoc Onlineexperiment

dbgMemStream function

In unit LazLoggerBase

Generates a message with the hexadecimal-encoded values from the specified memory stream.

Declaration

pascal
function dbgMemStream(MemStream: TCustomMemoryStream; Count: Integer)
: string; overload

Arguments

MemStream

TCustomMemoryStream with the content converted in the routine.

Count

Number of bytes in MemStream to read and convert in the routine.

Function result

String with the contents read from MemStream and formatted as Hexadecimal characters. Contains an empty string if MemStream is unassigned, not derived from TMemoryStream, or Count is not a positive non-zero value.

Description

Reads the content from MemStream and calls DbgMemRange to convert the buffer to hexadecimal.

See also

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