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

Function EncodeBitArrayValue

pkg/util/encoding/encoding.go:2767–2770  ·  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, colIDDelta uint32, d bitarray.BitArray)

Source from the content-addressed store, hash-verified

2765// EncodeBitArrayValue encodes a bit array value with its value tag,
2766// appends it to the supplied buffer, and returns the final buffer.
2767func EncodeBitArrayValue(appendTo []byte, colIDDelta uint32, d bitarray.BitArray) []byte {
2768 appendTo = EncodeValueTag(appendTo, colIDDelta, BitArray)
2769 return EncodeUntaggedBitArrayValue(appendTo, d)
2770}
2771
2772// EncodeUntaggedBitArrayValue encodes a bit array value, appends it to the
2773// 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…