debug message pack write binary