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, colID uint32, data []byte)
| 2010 | // but with a length prefix, appends it to the supplied buffer, and returns the |
| 2011 | // final buffer. |
| 2012 | func EncodeJSONValue(appendTo []byte, colID uint32, data []byte) []byte { |
| 2013 | appendTo = EncodeValueTag(appendTo, colID, JSON) |
| 2014 | return EncodeUntaggedBytesValue(appendTo, data) |
| 2015 | } |
| 2016 | |
| 2017 | // DecodeValueTag decodes a value encoded by EncodeValueTag, used as a prefix in |
| 2018 | // each of the other EncodeFooValue methods. |
nothing calls this directly
no test coverage detected
searching dependent graphs…