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

Method Int32

encoder/encoder.go:126–128  ·  view source on GitHub ↗

Int32 handles encoding of 32bit integer values according to the ValueEncoder configuration.

(field string, val int32)

Source from the content-addressed store, hash-verified

124
125// Int32 handles encoding of 32bit integer values according to the ValueEncoder configuration.
126func (m *ValueEncoder) Int32(field string, val int32) string {
127 return m.Float64(field, float64(val))
128}
129
130// Uint32 handles encoding of unsigned 32bit integer values according to the ValueEncoder configuration.
131func (m *ValueEncoder) Uint32(field string, val uint32) 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

no test coverage detected