In this post, we will see how to resolve Is it possible to encode date AND time (with some caveats) into 12 bits? Question: I have at my disposal 16 bits. Of them, 4 bits are the header and cannot ...

Question: I have written a 8b10b encoder that generates a stream of bytes intended to be sent to a serial transmitter which sends the bytes as-is LSb first. What I’m doing here is basically lay down groups of 10 bits ...

Question: I’d like to pack a string consisting of a 64 bits, 32 bits and 32 bits ints. I don’t have much experience with the pack function (or bits altogether) so I’m trying to do something like this: But that ...