(dAtA []byte)
| 5654 | } |
| 5655 | |
| 5656 | func (m *LinkSlice) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 5657 | i := len(dAtA) |
| 5658 | _ = i |
| 5659 | var l int |
| 5660 | _ = l |
| 5661 | if len(m.Links) > 0 { |
| 5662 | for iNdEx := len(m.Links) - 1; iNdEx >= 0; iNdEx-- { |
| 5663 | { |
| 5664 | size, err := m.Links[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 5665 | if err != nil { |
| 5666 | return 0, err |
| 5667 | } |
| 5668 | i -= size |
| 5669 | i = encodeVarintTempo(dAtA, i, uint64(size)) |
| 5670 | } |
| 5671 | i-- |
| 5672 | dAtA[i] = 0xa |
| 5673 | } |
| 5674 | } |
| 5675 | return len(dAtA) - i, nil |
| 5676 | } |
| 5677 | |
| 5678 | func (m *QueryInstantRequest) Marshal() (dAtA []byte, err error) { |
| 5679 | size := m.Size() |
no test coverage detected