I built a quick and simple tool to calculate the number of bytes in a given string. I found myself needing to do this a lot for a different project but all the tooling available for this wasn’t very good.
One of the more fun things was I leveraged a web worker to offload the byte size calculation and parsing. It’s not really necessary, but I found when I was pasting in gigabyte sized files it really sped up the application, so why not!
August 27, 2020