EncodeBoolValue encodes a bool value, appends it to the supplied buffer, and returns the final buffer.
(appendTo []byte, colID uint32, b bool)
| 1838 | // EncodeBoolValue encodes a bool value, appends it to the supplied buffer, and |
| 1839 | // returns the final buffer. |
| 1840 | func EncodeBoolValue(appendTo []byte, colID uint32, b bool) []byte { |
| 1841 | if b { |
| 1842 | return EncodeValueTag(appendTo, colID, True) |
| 1843 | } |
| 1844 | return EncodeValueTag(appendTo, colID, False) |
| 1845 | } |
| 1846 | |
| 1847 | // EncodeIntValue encodes an int value with its value tag, appends it to the |
| 1848 | // supplied buffer, and returns the final buffer. |
nothing calls this directly
no test coverage detected
searching dependent graphs…