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

Method Int64

encoder/encoder.go:121–123  ·  view source on GitHub ↗

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

(field string, val int64)

Source from the content-addressed store, hash-verified

119
120// Int64 handles encoding of 64bit integer values according to the ValueEncoder configuration.
121func (m *ValueEncoder) Int64(field string, val int64) string {
122 return m.Float64(field, float64(val))
123}
124
125// Int32 handles encoding of 32bit integer values according to the ValueEncoder configuration.
126func (m *ValueEncoder) Int32(field string, val int32) string {

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
EncodeMethod · 0.80
EncodeMethod · 0.80
EncodeMethod · 0.80
EncodeMethod · 0.80

Calls 1

Float64Method · 0.95

Tested by 1

ipToInt64OldFunction · 0.64