Hacker News new | ask | show | jobs
by legulere 1900 days ago
All trailing bytes and only trailing bytes are of the form 10xxxxxx. If you read such a byte you just have to iterate backwards until you find a non-trailing byte.