EncodeJSONValue encodes an already-byte-encoded JSON value with no value tag but with a length prefix, appends it to the supplied buffer, and returns the final buffer.
(appendTo []byte, colIDDelta uint32, data []byte)
| 2812 | // but with a length prefix, appends it to the supplied buffer, and returns the |
| 2813 | // final buffer. |
| 2814 | func EncodeJSONValue(appendTo []byte, colIDDelta uint32, data []byte) []byte { |
| 2815 | appendTo = EncodeValueTag(appendTo, colIDDelta, JSON) |
| 2816 | return EncodeUntaggedBytesValue(appendTo, data) |
| 2817 | } |
| 2818 | |
| 2819 | // EncodeTSQueryValue encodes an already-byte-encoded TSQuery value with no |
| 2820 | // value tag but with a length prefix, appends it to the supplied buffer, and |
nothing calls this directly
no test coverage detected
searching dependent graphs…