MCPcopy
hub / github.com/dreadl0ck/netcap / Uint64

Method Uint64

encoder/encoder.go:136–138  ·  view source on GitHub ↗

Uint64 handles encoding of unsigned 64bit integer values according to the ValueEncoder configuration.

(field string, val uint64)

Source from the content-addressed store, hash-verified

134
135// Uint64 handles encoding of unsigned 64bit integer values according to the ValueEncoder configuration.
136func (m *ValueEncoder) Uint64(field string, val uint64) string {
137 return m.Float64(field, float64(val))
138}
139
140const (
141 valueTrue = "1.0000000000"

Callers 15

EncodeMethod · 0.80
EncodeMethod · 0.80
EncodeMethod · 0.80
EncodeMethod · 0.80
EncodeMethod · 0.80
EncodeMethod · 0.80
EncodeMethod · 0.80
EncodeMethod · 0.80
parseZabbixMessagesMethod · 0.80
parseQUICVarintFunction · 0.80
tryParsePackedFixed64Function · 0.80

Calls 1

Float64Method · 0.95

Tested by

no test coverage detected