pushing reader and writer
push encoding, header and packet structure