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

Function EncodeBitArrayValue

pkg/util/encoding/encoding.go:1965–1968  ·  view source on GitHub ↗

EncodeBitArrayValue encodes a bit array value with its value tag, appends it to the supplied buffer, and returns the final buffer.

(appendTo []byte, colID uint32, d bitarray.BitArray)

Source from the content-addressed store, hash-verified

1963// EncodeBitArrayValue encodes a bit array value with its value tag,
1964// appends it to the supplied buffer, and returns the final buffer.
1965func EncodeBitArrayValue(appendTo []byte, colID uint32, d bitarray.BitArray) []byte {
1966 appendTo = EncodeValueTag(appendTo, colID, BitArray)
1967 return EncodeUntaggedBitArrayValue(appendTo, d)
1968}
1969
1970// EncodeUntaggedBitArrayValue encodes a bit array value, appends it to the
1971// supplied buffer, and returns the final buffer.

Callers

nothing calls this directly

Calls 2

EncodeValueTagFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…