public ulong?DeserializeFromPropertyName(ref JsonReader reader, IJsonFormatterResolver formatterResolver) { if (reader.ReadIsNull()) { return(null); } var key = reader.ReadStringSegmentRaw(); return(NumberConverter.ReadUInt64(key.Array, key.Offset, out _)); }
public ulong ReadUInt64() { SkipWhiteSpace(); var v = NumberConverter.ReadUInt64(_bytes, _offset, out var readCount); if (readCount == 0) { throw CreateParsingException("Number Token"); } _offset += readCount; return(v); }