(r encoding.Reader)
| 27 | } |
| 28 | |
| 29 | func (b *DeleteMessage) Decode(r encoding.Reader) error { |
| 30 | if _, err := r.VarInt(&b.MessageId); err != nil { |
| 31 | return err |
| 32 | } |
| 33 | if b.MessageId == -1 { |
| 34 | return r.FixedByteArray(b.Signature[:]) |
| 35 | } |
| 36 | return nil |
| 37 | } |
nothing calls this directly
no test coverage detected