(b *buffer, tag int, x bool)
| 151 | } |
| 152 | |
| 153 | func encodeBool(b *buffer, tag int, x bool) { |
| 154 | if x { |
| 155 | encodeUint64(b, tag, 1) |
| 156 | } else { |
| 157 | encodeUint64(b, tag, 0) |
| 158 | } |
| 159 | } |
| 160 | |
| 161 | func encodeBoolOpt(b *buffer, tag int, x bool) { |
| 162 | if x { |
no test coverage detected
searching dependent graphs…