Then you will probably like BitHelpers from my signature
I already known your library, although I have not used it yet, mostly because over the years I had been writing my own routines for this, but your library is far more complete that what I have, it would be great to have in integrated in FPC.
What I known very well is your pasettimino library, it save me a lot of work in one of my projects, it was very helpful to have the communication with Siemens PLC done without any dependencies in external dlls. By the way, I am the guy who send you the patches for the Linux compatibility of the library.