Table of Contents

Enum InputParseStatus

Namespace
Retro.Crt.Input
Assembly
Retro.Crt.dll

Outcome of a parse attempt — see TryParseEvent(ReadOnlySpan<char>, out InputEvent, out int) and friends.

public enum InputParseStatus : byte

Fields

Ok = 0

A complete event was decoded; consumed says how many input chars to advance.

Incomplete = 1

The buffer ends mid-sequence; caller should wait for more input. consumed is 0.

Invalid = 2

Unrecognized bytes — caller should skip consumed chars (≥1) and try again.