(dAtA []byte)
| 3519 | } |
| 3520 | |
| 3521 | func (m *ReadResponse) MarshalToSizedBuffer(dAtA []byte) (int, error) { |
| 3522 | i := len(dAtA) |
| 3523 | _ = i |
| 3524 | var l int |
| 3525 | _ = l |
| 3526 | if len(m.Results) > 0 { |
| 3527 | for iNdEx := len(m.Results) - 1; iNdEx >= 0; iNdEx-- { |
| 3528 | { |
| 3529 | size, err := m.Results[iNdEx].MarshalToSizedBuffer(dAtA[:i]) |
| 3530 | if err != nil { |
| 3531 | return 0, err |
| 3532 | } |
| 3533 | i -= size |
| 3534 | i = encodeVarintIngester(dAtA, i, uint64(size)) |
| 3535 | } |
| 3536 | i-- |
| 3537 | dAtA[i] = 0xa |
| 3538 | } |
| 3539 | } |
| 3540 | return len(dAtA) - i, nil |
| 3541 | } |
| 3542 | |
| 3543 | func (m *QueryResponse) Marshal() (dAtA []byte, err error) { |
| 3544 | size := m.Size() |
no test coverage detected