erlang library to read/write fixed size status messages