func (t *CRCMessage) Marshal(w *wipro.Writer) { offset := len(w.B) w.WriteUint32(t.CRC) start := len(w.B) t.Message.Marshal(w) w.SetUint32(offset, crc32.ChecksumIEEE(w.B[start:])) }