Fixed tx serialize msgtx write buffer