Skip to content

TReader.ReadUnicodeChar

Read Unicode character

Declaration

Source position: classesh.inc line 1556

public 
  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

Name Description
TReader.ReadUnicodeString Read a UnicodeString value from the stream