(f uint32)
| 212 | } |
| 213 | |
| 214 | func (d *SFDecoder) isFilterMatch(f uint32) bool { |
| 215 | for _, v := range d.filter { |
| 216 | if v == f { |
| 217 | return true |
| 218 | } |
| 219 | } |
| 220 | return false |
| 221 | } |
| 222 | |
| 223 | func read(r io.Reader, v interface{}) error { |
| 224 | return binary.Read(r, binary.BigEndian, v) |