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

Method Uint32

pgproto3/big_endian.go:27–31  ·  view source on GitHub ↗
(n uint32)

Source from the content-addressed store, hash-verified

25}
26
27func (b BigEndianBuf) Uint32(n uint32) []byte {
28 buf := b[0:4]
29 binary.BigEndian.PutUint32(buf, n)
30 return buf
31}
32
33func (b BigEndianBuf) Int64(n int64) []byte {
34 buf := b[0:8]

Callers 15

DecodeMethod · 0.80
DecodeMethod · 0.80
DecodeMethod · 0.80
DecodeMethod · 0.80
DecodeMethod · 0.80
DecodeMethod · 0.80
ReceiveMethod · 0.80
DecodeMethod · 0.80
DecodeMethod · 0.80
DecodeMethod · 0.80

Calls

no outgoing calls

Tested by 1