MCPcopy Index your code
hub / github.com/go-git/go-git / WriteUint16

Function WriteUint16

utils/binary/write.go:48–50  ·  view source on GitHub ↗

WriteUint16 writes the binary representation of a uint16 into w, in BigEndian order

(w io.Writer, value uint16)

Source from the content-addressed store, hash-verified

46// WriteUint16 writes the binary representation of a uint16 into w, in BigEndian
47// order
48func WriteUint16(w io.Writer, value uint16) error {
49 return binary.Write(w, binary.BigEndian, value)
50}

Callers 1

TestWriteUint16Method · 0.85

Calls 1

WriteMethod · 0.45

Tested by 1

TestWriteUint16Method · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…