I have a question on this example from Designing Data-Intensive Applications page 119.
How could the parser possibly know that the 0 in the red rectangle is just padding to make the byte 8 bites? (I assume it's padding.) It might just be interpreted as having one more 0 at the end? The book has the same padding for its example of Thrift CompactProtocal too. Thank you!