EncodePGVectorValue encodes an already-byte-encoded PGVector 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)
| 2836 | // value tag but with a length prefix, appends it to the supplied buffer, and |
| 2837 | // returns the final buffer. |
| 2838 | func EncodePGVectorValue(appendTo []byte, colIDDelta uint32, data []byte) []byte { |
| 2839 | appendTo = EncodeValueTag(appendTo, colIDDelta, PGVector) |
| 2840 | return EncodeUntaggedBytesValue(appendTo, data) |
| 2841 | } |
| 2842 | |
| 2843 | // DecodeValueTag decodes a value encoded by EncodeValueTag, used as a prefix in |
| 2844 | // each of the other EncodeFooValue methods. |
nothing calls this directly
no test coverage detected
searching dependent graphs…