MCPcopy Create free account
hub / github.com/dan-v/lambda-nat-proxy / writeUint64

Function writeUint64

pkg/shared/control.go:76–81  ·  view source on GitHub ↗
(w io.Writer, v uint64)

Source from the content-addressed store, hash-verified

74}
75
76func writeUint64(w io.Writer, v uint64) error {
77 buf := make([]byte, 8)
78 binary.BigEndian.PutUint64(buf, v)
79 _, err := w.Write(buf)
80 return err
81}
82
83func readByte(r io.Reader) (byte, error) {
84 buf := make([]byte, 1)

Callers 2

WritePingFunction · 0.85
WritePongFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected