A collection of functions for making writing to a bitstream eaisier; written in C under a BSD license