EncodeBoolValue encodes a bool value, appends it to the supplied buffer, and returns the final buffer.
(appendTo []byte, colIDDelta uint32, b bool)
| 2594 | // EncodeBoolValue encodes a bool value, appends it to the supplied buffer, and |
| 2595 | // returns the final buffer. |
| 2596 | func EncodeBoolValue(appendTo []byte, colIDDelta uint32, b bool) []byte { |
| 2597 | if b { |
| 2598 | return EncodeValueTag(appendTo, colIDDelta, True) |
| 2599 | } |
| 2600 | return EncodeValueTag(appendTo, colIDDelta, False) |
| 2601 | } |
| 2602 | |
| 2603 | // EncodeIntValue encodes an int value with its value tag, appends it to the |
| 2604 | // supplied buffer, and returns the final buffer. |
nothing calls this directly
no test coverage detected
searching dependent graphs…