(dst []byte, i int64)
| 67 | } |
| 68 | |
| 69 | func AppendCountedVarint(dst []byte, i int64) []byte { |
| 70 | var u64 uint64 |
| 71 | if i >= 0 { |
| 72 | u64 = uint64(i) << 1 |
| 73 | } else { |
| 74 | u64 = uint64(-i)<<1 | 1 |
| 75 | } |
| 76 | return AppendCountedUvarint(dst, u64) |
| 77 | } |
no test coverage detected