MCPcopy Create free account
hub / github.com/rabbitstack/fibratus / WriteUint64

Function WriteUint64

pkg/util/bytes/bytes.go:87–91  ·  view source on GitHub ↗

WriteUint64 writes the provided uint64 value to byte slice.

(v uint64)

Source from the content-addressed store, hash-verified

85
86// WriteUint64 writes the provided uint64 value to byte slice.
87func WriteUint64(v uint64) (b []byte) {
88 b = make([]byte, 8)
89 NativeEndian.PutUint64(b, v)
90 return
91}

Callers 6

MarshalMethod · 0.92
MarshalMethod · 0.92
NewWriterFunction · 0.92
hashFieldsFunction · 0.92
MarshalMethod · 0.92
MarshalRawMethod · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected