`LastIndexOf` doesn't need to read entire string as we know the expected length of an encoded value
LastIndexOfdoesn't need to read entire string as we know the expected length of an encoded value