KEncode: Packing Data for Strict Limits

Over the past few years, I found myself occasionally writing the same boilerplate: manually packing bits of application state into tight, heavily character-limited strings. It ended up with me creating a library for it called kencode. But first it’s story time… and then a little explanation of the underlying tech of why kotlinx.serialization is so cool and THEN I’ll go over kencode. It all started…