Sign in Join
FPDoc Onlineexperiment

WideBytesOf function

In unit sysutils

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

Declaration

pascal
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

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