MCPcopy Create free account
hub / github.com/blastrain/vitess-sqlparser / EncodeCompactBytes

Function EncodeCompactBytes

tidbparser/dependency/util/codec/bytes.go:141–145  ·  view source on GitHub ↗

EncodeCompactBytes joins bytes with its length into a byte slice. It is more efficient in both space and time compare to EncodeBytes. Note that the encoded result is not memcomparable.

(b []byte, data []byte)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

encodeBytesFunction · 0.85

Calls 2

reallocBytesFunction · 0.85
EncodeVarintFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…