1 character length strings produce:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at HashidsNet.Hashids.GenerateHashFrom(Int64 number, Span`1& result)
at HashidsNet.Hashids.GetNumberFrom(String hash)
at HashidsNet.Hashids.DecodeSingle(String hash)
2 character length strings produce:
System.ArgumentException: Destination is too short. (Parameter 'destination')
at HashidsNet.Hashids.GenerateHashFrom(Int64 number, Span`1& result)
at HashidsNet.Hashids.GetNumberFrom(String hash)
at HashidsNet.Hashids.DecodeSingle(String hash)
for any "hash" strings of 1 or 2 character length. NoResultException should be produced in these cases.
1 character length strings produce:
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at HashidsNet.Hashids.GenerateHashFrom(Int64 number, Span`1& result)
at HashidsNet.Hashids.GetNumberFrom(String hash)
at HashidsNet.Hashids.DecodeSingle(String hash)
2 character length strings produce:
System.ArgumentException: Destination is too short. (Parameter 'destination')
at HashidsNet.Hashids.GenerateHashFrom(Int64 number, Span`1& result)
at HashidsNet.Hashids.GetNumberFrom(String hash)
at HashidsNet.Hashids.DecodeSingle(String hash)
for any "hash" strings of 1 or 2 character length. NoResultException should be produced in these cases.