// Copyright (c) .NET Foundation. All rights reserved. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. namespace System.Net.Http.Formatting.Parsers { /// /// Represents the overall state of various parsers. /// internal enum ParserState { /// /// Need more data /// NeedMoreData = 0, /// /// Parsing completed (final) /// Done, /// /// Bad data format (final) /// Invalid, /// /// Data exceeds the allowed size (final) /// DataTooBig, } }