(name string, typ string)
| 68 | } |
| 69 | |
| 70 | func (d *decodeGen) assignAndCheck(name string, typ string) { |
| 71 | if !d.p.ok() { |
| 72 | return |
| 73 | } |
| 74 | d.p.printf("\n%s, err = dc.Read%s()", name, typ) |
| 75 | d.p.wrapErrCheck(d.ctx.ArgsStr()) |
| 76 | } |
| 77 | |
| 78 | func (d *decodeGen) assignArray(name string, typ string, fieldLimit uint32) { |
| 79 | if !d.p.ok() { |
no test coverage detected