It seems that this library only handles Bins that only contain a string, but there are other cases, as specified here: http://erlang.org/doc/programming_examples/bit_syntax.html
Specifically I wasn't able to parse this expression today:
<<1,2,3,4,5,6,7,8>>.