()
| 11638 | } |
| 11639 | |
| 11640 | func (m *UidBlock) Size() (n int) { |
| 11641 | if m == nil { |
| 11642 | return 0 |
| 11643 | } |
| 11644 | var l int |
| 11645 | _ = l |
| 11646 | if m.Base != 0 { |
| 11647 | n += 1 + sovPb(uint64(m.Base)) |
| 11648 | } |
| 11649 | l = len(m.Deltas) |
| 11650 | if l > 0 { |
| 11651 | n += 1 + l + sovPb(uint64(l)) |
| 11652 | } |
| 11653 | if m.NumUids != 0 { |
| 11654 | n += 1 + sovPb(uint64(m.NumUids)) |
| 11655 | } |
| 11656 | return n |
| 11657 | } |
| 11658 | |
| 11659 | func (m *UidPack) Size() (n int) { |
| 11660 | if m == nil { |