CharacterReader Struct

Namespace
Avalonia.Utilities
Base Types
  • object
  • ValueType
graph BT Type-->Base0["ValueType"] Base0-->Base1["object"] Type["CharacterReader"] class Type type-node

Syntax

public ref struct CharacterReader : ValueType

Constructors

Properties

Name Value Summary
End bool
Peek char
Position int

Methods

Name Value Summary
PeekWhitespace() ReadOnlySpan<char>
Skip(int) void
SkipWhitespace() void
Take() char
TakeIf(char) bool
TakeIf(Func<char, bool>) bool
TakeUntil(char) ReadOnlySpan<char>
TakeWhile(Func<char, bool>) ReadOnlySpan<char>
TryPeek(int) ReadOnlySpan<char>

Extension Methods