[Overview][Procedures and functions][Index] Reference for unit 'LazDbgLog' (#lazutils)

MemSizeString

Returns the memory size needed for the specified string value including a 4-byte Pointer for the string length.

Declaration

Source position: lazdbglog.pas line 18

function MemSizeString(

  const s: string

):PtrUInt;

Arguments

s

  

String examined to get the Length of the memory used for the value.

Function result

PtrUInt value with the number of bytes needed for the string including its length.