MCPcopy
hub / github.com/go-git/go-git / WriteUint32

Function WriteUint32

utils/binary/write.go:42–44  ·  view source on GitHub ↗

WriteUint32 writes the binary representation of a uint32 into w, in BigEndian order

(w io.Writer, value uint32)

Source from the content-addressed store, hash-verified

40// WriteUint32 writes the binary representation of a uint32 into w, in BigEndian
41// order
42func WriteUint32(w io.Writer, value uint32) error {
43 return binary.Write(w, binary.BigEndian, value)
44}
45
46// WriteUint16 writes the binary representation of a uint16 into w, in BigEndian
47// order

Callers 13

encodeRawExtensionMethod · 0.92
encodeHeaderMethod · 0.92
encodeFanoutMethod · 0.92
createIndexMethod · 0.92
encodeFanoutMethod · 0.92
encodeCommitDataMethod · 0.92
encodeExtraEdgesMethod · 0.92
encodeFanoutMethod · 0.92
encodeCommitDataMethod · 0.92
encodeExtraEdgesMethod · 0.92

Calls 1

WriteMethod · 0.45

Tested by 2

TestWriteUint32Method · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…