()
| 9105 | } |
| 9106 | |
| 9107 | func (m *Function) Marshal() (dAtA []byte, err error) { |
| 9108 | size := m.Size() |
| 9109 | dAtA = make([]byte, size) |
| 9110 | n, err := m.MarshalToSizedBuffer(dAtA[:size]) |
| 9111 | if err != nil { |
| 9112 | return nil, err |
| 9113 | } |
| 9114 | return dAtA[:n], nil |
| 9115 | } |
| 9116 | |
| 9117 | func (m *Function) MarshalTo(dAtA []byte) (int, error) { |
| 9118 | size := m.Size() |
nothing calls this directly
no test coverage detected