()
| 712 | type SFlowCounterDataFormat uint32 |
| 713 | |
| 714 | func (cdf SFlowCounterDataFormat) decode() (SFlowEnterpriseID, SFlowCounterRecordType) { |
| 715 | leftField := cdf >> 12 |
| 716 | rightField := uint32(0xFFF) & uint32(cdf) |
| 717 | return SFlowEnterpriseID(leftField), SFlowCounterRecordType(rightField) |
| 718 | } |
| 719 | |
| 720 | // GetRecords will return a slice of interface types |
| 721 | // representing records. A type switch can be used to |
no test coverage detected