Exemplo n.º 1
0
        public static long GetInt64Value(ReadOnlySpan <byte> int64Token)
        {
            if (!JsonBinaryEncoding.TryGetInt64Value(int64Token, out long int64Value))
            {
                throw new JsonInvalidNumberException();
            }

            return(int64Value);
        }