MCPcopy
hub / github.com/Terry-Mao/goim / PutInt32

Method PutInt32

pkg/encoding/binary/endian.go:25–30  ·  view source on GitHub ↗
(b []byte, v int32)

Source from the content-addressed store, hash-verified

23}
24
25func (bigEndian) PutInt32(b []byte, v int32) {
26 b[0] = byte(v >> 24)
27 b[1] = byte(v >> 16)
28 b[2] = byte(v >> 8)
29 b[3] = byte(v)
30}

Callers 6

TestInt32Function · 0.80
WriteToMethod · 0.80
WriteTCPMethod · 0.80
WriteTCPHeartMethod · 0.80
WriteWebsocketMethod · 0.80
WriteWebsocketHeartMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestInt32Function · 0.64