| 46 | ) |
| 47 | |
| 48 | type Payload struct { |
| 49 | OperationType PayloadOperationType |
| 50 | DestRegister uint32 |
| 51 | SourceRegister uint32 |
| 52 | Base PayloadBase |
| 53 | Offset uint32 |
| 54 | Len uint32 |
| 55 | CsumType PayloadCsumType |
| 56 | CsumOffset uint32 |
| 57 | CsumFlags uint32 |
| 58 | } |
| 59 | |
| 60 | func (e *Payload) marshal(fam byte) ([]byte, error) { |
| 61 | data, err := e.marshalData(fam) |
nothing calls this directly
no outgoing calls
no test coverage detected