[Overview][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'LazLoggerBase' (#lazutils)

dbgMemStream

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

Declaration

Source position: LazLoggerIntf.inc line 117

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

DbgMemRange

  

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


Version 4.0 Generated 2025-05-03 Home