MCPcopy
hub / github.com/jackc/pgx / AppendInt32

Function AppendInt32

internal/pgio/write.go:22–24  ·  view source on GitHub ↗
(buf []byte, n int32)

Source from the content-addressed store, hash-verified

20}
21
22func AppendInt32(buf []byte, n int32) []byte {
23 return AppendUint32(buf, uint32(n))
24}
25
26func AppendInt64(buf []byte, n int64) []byte {
27 return AppendUint64(buf, uint64(n))

Callers 15

encodeCopyValueFunction · 0.92
runMethod · 0.92
EncodeMethod · 0.92
EncodeMethod · 0.92
EncodeMethod · 0.92
EncodeMethod · 0.92
EncodeMethod · 0.92
EncodeMethod · 0.92
EncodeMethod · 0.92
beginMessageFunction · 0.92
EncodeMethod · 0.92
EncodeMethod · 0.92

Calls 1

AppendUint32Function · 0.85

Tested by 1

TestConnCopyFromBinaryFunction · 0.74