# PeekChar Method

## Applies to

TBuffer class

## Declaration

function PeekChar: TBuffChar; {$ifdef UseInline} inline; {$endif}

## Description

The PeekChar method returns the next unicode character without advancing the Position.

As the Position is not advanced subsequent calls to PeekChar always return the same character.

## See also

- TBuffer.AsString Method
- TBuffer.Convert Methods
- TBuffer.NextChar Method
- TBuffer.Position Property