public static bool TryParseInt64(ReadOnlySpan <char> text, out long value)
                {
                    int consumed;
                    var byteSpan = text.Cast <char, byte>();

                    return(PrimitiveParser.TryParseInt64(byteSpan, out value, out consumed, EncodingData.InvariantUtf16, 'X'));
                }
                public unsafe static bool TryParseInt64(char *text, int length, out long value)
                {
                    int consumed;
                    var span = new ReadOnlySpan <byte>(text, length * sizeof(char));

                    return(PrimitiveParser.TryParseInt64(span, out value, out consumed, EncodingData.InvariantUtf16, 'X'));
                }
                public static bool TryParseInt64(ReadOnlySpan <char> text, out long value, out int charactersConsumed)
                {
                    var  byteSpan = text.Cast <char, byte>();
                    int  bytesConsumed;
                    bool result = PrimitiveParser.TryParseInt64(byteSpan, out value, out bytesConsumed, EncodingData.InvariantUtf16, 'X');

                    charactersConsumed = bytesConsumed / sizeof(char);
                    return(result);
                }
                public unsafe static bool TryParseInt64(char *text, int length, out long value, out int charactersConsumed)
                {
                    var  span = new ReadOnlySpan <byte>(text, length * sizeof(char));
                    int  bytesConsumed;
                    bool result = PrimitiveParser.TryParseInt64(span, out value, out bytesConsumed, EncodingData.InvariantUtf16, 'X');

                    charactersConsumed = bytesConsumed / sizeof(char);
                    return(result);
                }
 public static bool TryParseInt64(ReadOnlySpan <byte> text, out long value, out int bytesConsumed)
 {
     return(PrimitiveParser.TryParseInt64(text, out value, out bytesConsumed, EncodingData.InvariantUtf8, 'X'));
 }
                public unsafe static bool TryParseInt64(byte *text, int length, out long value, out int bytesConsumed)
                {
                    var span = new ReadOnlySpan <byte>(text, length);

                    return(PrimitiveParser.TryParseInt64(span, out value, out bytesConsumed, EncodingData.InvariantUtf8, 'X'));
                }
            public static bool TryParseInt64(ReadOnlySpan <byte> text, out long value)
            {
                int consumed;

                return(PrimitiveParser.TryParseInt64(text, out value, out consumed, EncodingData.InvariantUtf8));
            }