MCPcopy Create free account
hub / github.com/auxten/postgresql-parser / EncodeNullAscending

Function EncodeNullAscending

pkg/util/encoding/encoding.go:788–790  ·  view source on GitHub ↗

EncodeNullAscending encodes a NULL value. The encodes bytes are appended to the supplied buffer and the final buffer is returned. The encoded value for a NULL is guaranteed to not be a prefix for the EncodeVarint, EncodeFloat, EncodeBytes and EncodeString encodings.

(b []byte)

Source from the content-addressed store, hash-verified

786// NULL is guaranteed to not be a prefix for the EncodeVarint, EncodeFloat,
787// EncodeBytes and EncodeString encodings.
788func EncodeNullAscending(b []byte) []byte {
789 return append(b, encodedNull)
790}
791
792// EncodeJSONAscending encodes a JSON Type. The encoded bytes are appended to the
793// supplied buffer and the final buffer is returned.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…