Looks like a job for Data.Binary. > I'd like to use it with just the libraries that are part of the platform