PeekChar(Int32) Method

Definition

Namespace Markdig.Helpers
Assembly Markdig.dll
Implements PeekChar(Int32)

Peeks a character at the specified offset from the current Start position inside the range Start and End, returns \0 if outside this range.

[MethodImpl(MethodImplOptions.AggressiveInlining)]
public readonly char PeekChar(int offset)

Parameters

offset
Int32

The offset.

Returns

Char
The character at offset, returns `\0` if none.