rewrite RBSerialMessages::Read so that it compiles and is theoretically functional