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

WideBytesOf

Returns the contents of a widestring as an array of bytes.

Declaration

Source position: sysunih.inc line 68

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: Dec 27 2024