iobuf: iobuf_write_byte method