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

Function EncodeIntValue

pkg/util/encoding/encoding.go:1849–1852  ·  view source on GitHub ↗

EncodeIntValue encodes an int value with its value tag, appends it to the supplied buffer, and returns the final buffer.

(appendTo []byte, colID uint32, i int64)

Source from the content-addressed store, hash-verified

1847// EncodeIntValue encodes an int value with its value tag, appends it to the
1848// supplied buffer, and returns the final buffer.
1849func EncodeIntValue(appendTo []byte, colID uint32, i int64) []byte {
1850 appendTo = EncodeValueTag(appendTo, colID, Int)
1851 return EncodeUntaggedIntValue(appendTo, i)
1852}
1853
1854// EncodeUntaggedIntValue encodes an int value, appends it to the supplied buffer, and
1855// returns the final buffer.

Callers

nothing calls this directly

Calls 2

EncodeValueTagFunction · 0.85
EncodeUntaggedIntValueFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…