In the previous post, we discussed how to decode a Bootstring string. If you haven’t read it yet, I recommend you do so before continuing. This post will just quickly go over how encoding works to complete the picture. I’ll skip over the details of the generalized variable-length integers that we already discussed in the previous post. Recap We already saw how we can use the state machine to decode a Bootstring basic string.