7 references to GetNumberLength
Microsoft.Net.Http.Headers (7)
ContentRangeHeaderValue.cs (3)
310lengthLength = HttpRuleParser.GetNumberLength(input, current, false); 339fromLength = HttpRuleParser.GetNumberLength(input, current, false); 366toLength = HttpRuleParser.GetNumberLength(input, current, false);
HeaderUtilities.cs (1)
346if (TryParseNonNegativeInt64(new StringSegment(headerValue, startIndex, HttpRuleParser.GetNumberLength(headerValue, startIndex, false)), out result))
RangeItemHeaderValue.cs (2)
172var fromLength = HttpRuleParser.GetNumberLength(input, current, false); 198toLength = HttpRuleParser.GetNumberLength(input, current, false);
SetCookieHeaderValue.cs (1)
571itemLength = HttpRuleParser.GetNumberLength(input, offset, allowDecimal: false);