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

WideBytesOf

Returns the contents of a widestring as an array of bytes

Declaration

Source position: sysunih.inc line 67

function WideBytesOf(

  const Value: UnicodeString

):TBytes;

Description

WideBytesOf returns the contents of the widestring Value as an array of bytes. The array will have as length twice the length of the wide string, as each wide character contains 2 bytes.

See also

StringOf

  

Create a Unicode string from an array of bytes


Documentation generated on: Jun 22 2020