[InlineData("1234567890_")]         // Invalid char
        public void GetLongOrDefault_Regularly_ShouldReturnSameResultAsTryGetLong(string input)
        {
            var expectedResult = IdEncoder.TryGetLong(input, out var expectedId)
                                ? expectedId
                                : (long?)null;

            var result = IdEncoder.GetLongOrDefault(input);

            Assert.Equal(expectedResult, result);
        }
        [InlineData("1234567890_")]         // Invalid char
        public void GetLongOrDefault_WithByteInput_ShouldReturnSameResultAsWithStringInput(string inputString)
        {
            var expectedResult = IdEncoder.GetLongOrDefault(inputString);

            Span <byte> input = stackalloc byte[inputString.Length];

            for (var i = 0; i < input.Length; i++)
            {
                input[i] = (byte)inputString[i];
            }

            var result = IdEncoder.GetLongOrDefault(input);

            Assert.Equal(expectedResult, result);
        }