I write C on Arduino and while pointers are near and dear to me I only take them out for beginners who may be ready for them, same as bits and bit-logic. I look at what you wrote and it's like if you don't find it, something is wrong with Arduino... where's the logic in that? Keep digging or A-s-k.
If you want to make bit patterns with spaces between, you need to interpret the text yourself or use bigger code than you need from some library you don't understand to read text and output bytes.
If that is completely beyond you then maybe you've been leaning on black boxes a bit too much to write your own state machines.
This is what Arduino uses: AVR Libc Home Page
BTW, hex is a lot easier to write bit patterns with.