Sign in Join
FPDoc Onlineexperiment

UnicodeCharLenToStrVar procedure

In unit System

Convert a memory buffer with Unicode characters to an ansistring.

Declaration

pascal
procedure UnicodeCharLenToStrVar(Src: PUnicodeChar; Len: SizeInt; 
 out Dest: UnicodeString)

Description

UnicodeCharLenToString converts the Unicode characters in buffer S with at most len bytes length, to an ansistring and returns the result in Dest

This function does the same as UnicodeCharLenToString.

Errors

No checking is done to see if the pointer S or length len are valid.

See also

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