Closed bugadani closed 2 years ago
Name | Link |
---|---|
Latest commit | 88ec6e083b3acf231f7d1add4ce7f0b64d4a972a |
Latest deploy log | https://app.netlify.com/sites/cute-starship-2d9c9b/deploys/62b18e7fc0314800084d0d73 |
Technically, in the last iteration it's unnecessary to mask the continuation bit (it's either zero or the check value catches the invalid data anyway), but that would make the impl a lot bulkier so I haven't done it.
It's not necessary to update a check value in every cycle - it's only relevant while processing the last encoded byte.
Obligatory godbolt link, this time with x86 asm because I was lazy: https://rust.godbolt.org/z/hMh3qW67h