(buf []byte, val bool)
| 37 | } |
| 38 | |
| 39 | func EncodeBool(buf []byte, val bool) []byte { |
| 40 | if val { |
| 41 | return append(buf, bytesTrue...) |
| 42 | } |
| 43 | return append(buf, bytesFalse...) |
| 44 | } |
| 45 | |
| 46 | func EncodeBaniry(buf []byte, val []byte) []byte { |
| 47 | out := append(buf, '"') |
no outgoing calls
no test coverage detected
searching dependent graphs…