Sign in Join
FPDoc Onlineexperiment

TReader.ReadUnicodeChar function

Member of TReaderpublicIn unit Classes

Read Unicode character.

Declaration

pascal
function ReadUnicodeChar: UnicodeChar

Description

ReadUnicodeChar reads a single Unicode character from the stream. It does this by reading a UnicodeString string from the stream and returning the first character.

Errors

If the string has a length different from 1, an EReadError exception will occur.

See also

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