the prefix trap
the sender writes the code words. the receiver only gets the bits — and reads them every way they fit.
sender
your code words
the word you send
receiver
try it: give a, b, c and d two bits each · or make sure no code word starts another one
the receiver cannot see where a character ends. only your code words can tell it.