started on deserialising msgout_post_hash

need to add support for writing a string of lengthX.