MCPcopy
hub / github.com/inbug-team/InScan / BytesToInt

Function BytesToInt

generate_exec/generate_exec.go:45–47  ·  view source on GitHub ↗
(buf []byte)

Source from the content-addressed store, hash-verified

43}
44
45func BytesToInt(buf []byte) int {
46 return int(binary.BigEndian.Uint32(buf))
47}
48
49func GetExecPath() string {
50 path, err := exec.LookPath(os.Args[0])

Callers 1

mainFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected