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

Function decodeTokenRingCounters

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

Source from the content-addressed store, hash-verified

301 return nil
302}
303func decodeTokenRingCounters(r io.Reader) (*TokenRingCounters, error) {
304 var tr = new(TokenRingCounters)
305
306 if err := tr.unmarshal(r); err != nil {
307 return nil, err
308 }
309
310 return tr, nil
311}
312
313func (tr *TokenRingCounters) unmarshal(r io.Reader) error {
314 var err error

Callers 1

decodeFlowCounterFunction · 0.85

Calls 1

unmarshalMethod · 0.45

Tested by

no test coverage detected