Unit 'System' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

UnicodeCharLenToStrVar

Convert a memory buffer with Unicode characters to an ansistring.

Declaration

Source position: ustringh.inc line 45

procedure UnicodeCharLenToStrVar(

  Src: PUnicodeChar;

  Len: SizeInt;

  out Dest: UnicodeString

);

procedure UnicodeCharLenToStrVar(

  Src: PUnicodeChar;

  Len: SizeInt;

  out Dest: AnsiString

);

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

StringToUnicodeChar

  

Convert an ansistring to a null-terminated array of Unicode characters.

UnicodeCharToString

  

Convert Unicode character to string.

UnicodeCharLenToString

  

Convert a memory buffer with Unicode characters to a unicodestring.

UnicodeCharToStrVar

  

Convert a null-terminated memory buffer with Unicode characters to an ansistring.


Documentation generated on: Oct 27 2024