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

Function decodeVGCounters

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

Source from the content-addressed store, hash-verified

344}
345
346func decodeVGCounters(r io.Reader) (*VGCounters, error) {
347 var vg = new(VGCounters)
348
349 if err := vg.unmarshal(r); err != nil {
350 return nil, err
351 }
352
353 return vg, nil
354}
355
356func (vg *VGCounters) unmarshal(r io.Reader) error {
357 var err error

Callers 1

decodeFlowCounterFunction · 0.85

Calls 1

unmarshalMethod · 0.45

Tested by

no test coverage detected