(dAtA []byte, offset int, v uint64)
| 548 | } |
| 549 | |
| 550 | func encodeVarintV1(dAtA []byte, offset int, v uint64) int { |
| 551 | offset -= sovV1(v) |
| 552 | base := offset |
| 553 | for v >= 1<<7 { |
| 554 | dAtA[offset] = uint8(v&0x7f | 0x80) |
| 555 | v >>= 7 |
| 556 | offset++ |
| 557 | } |
| 558 | dAtA[offset] = uint8(v) |
| 559 | return base |
| 560 | } |
| 561 | func (m *BlockMeta) Size() (n int) { |
| 562 | if m == nil { |
| 563 | return 0 |
no test coverage detected