MCPcopy Create free account
hub / github.com/Edgio/vflow / decodeGenericIntCounters

Function decodeGenericIntCounters

sflow/flow_counter.go:223–231  ·  view source on GitHub ↗
(r io.Reader)

Source from the content-addressed store, hash-verified

221}
222
223func decodeGenericIntCounters(r io.Reader) (*GenericInterfaceCounters, error) {
224 var gic = new(GenericInterfaceCounters)
225
226 if err := gic.unmarshal(r); err != nil {
227 return nil, err
228 }
229
230 return gic, nil
231}
232
233func (gic *GenericInterfaceCounters) unmarshal(r io.Reader) error {
234 var err error

Callers 1

decodeFlowCounterFunction · 0.85

Calls 1

unmarshalMethod · 0.45

Tested by

no test coverage detected