Use FrameHeader class to both read and write