When the message header is not a multiple of 8 bytes long, there will be an additional read performed when reading the body since there is an alignment after reading the header. I forgot to take this into account in #62.
I also added a small optimization in padding computing since I needed a separate function to get header padding.
When the message header is not a multiple of 8 bytes long, there will be an additional read performed when reading the body since there is an alignment after reading the header. I forgot to take this into account in #62.
I also added a small optimization in padding computing since I needed a separate function to get header padding.