Do you really want to send GollyGee a message saying you like their work?
And of course, a C module implementing a generic interface to input byte streams. Written in ANSI C, and should be completely portable.