(b []byte, deterministic bool)
| 73 | return m.Unmarshal(b) |
| 74 | } |
| 75 | func (m *Desc) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| 76 | if deterministic { |
| 77 | return xxx_messageInfo_Desc.Marshal(b, m, deterministic) |
| 78 | } else { |
| 79 | b = b[:cap(b)] |
| 80 | n, err := m.MarshalToSizedBuffer(b) |
| 81 | if err != nil { |
| 82 | return nil, err |
| 83 | } |
| 84 | return b[:n], nil |
| 85 | } |
| 86 | } |
| 87 | func (m *Desc) XXX_Merge(src proto.Message) { |
| 88 | xxx_messageInfo_Desc.Merge(m, src) |
| 89 | } |
nothing calls this directly
no test coverage detected