bitio is a Common Lisp library for processing octet streams as bit streams. https://github.com/psilord/bitio