[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'sysutils' (#rtl)

StringOf

Create a unicode string from an array of bytes

Declaration

Source position: sysunih.inc line 66

function StringOf(

  const Bytes: TBytes

):UnicodeString;

Description

StringOf converts an array of bytes (Bytes) to a unicode string. It interprets the bytes as a single-byte string, using the default codepage.

To create a string where the bytes are interpreted as wide chars, use WideStringOf instead.

Errors

None.

See also

WideBytesOf

  

Returns the contents of a widestring as an array of bytes

WideStringOf

  

Create unicode string from array of bytes


Documentation generated on: Mar 17 2017