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

Function decodeVlanCounters

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

Source from the content-addressed store, hash-verified

383}
384
385func decodeVlanCounters(r io.Reader) (*VlanCounters, error) {
386 var vc = new(VlanCounters)
387
388 if err := vc.unmarshal(r); err != nil {
389 return nil, err
390 }
391
392 return vc, nil
393}
394
395func (vc *VlanCounters) unmarshal(r io.Reader) error {
396 var err error

Callers 1

decodeFlowCounterFunction · 0.85

Calls 1

unmarshalMethod · 0.45

Tested by

no test coverage detected