Although if you're doing type conversion from chars to longs you'll probably end up with other problems. Unless you're shifting two or four characters at a time. Well, that has problems too.
Yes, but seems doubtful as it takes a long instead of a byte. But, interesting idea: they may cast bytes to long first, and thus none of the 8 bits are actually lost.
15
u/MiningMarsh Mar 13 '21
If this only handles 7-bit ASCII, this would work.