Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It’s been a minute since I did this seriously so maybe my magic is out of date but I don’t think this is how bits to bytes works:

> 100 bits / ~12 bytes

> 18 bits / ~2 bytes

I didn’t want to spend a whole lot of effort tracking the arithmetic after this. Was it actually 28 bytes? 27 because I can squeeze those extras into one shared byte?



Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: