(bytes Bytes, nopts int)
| 59 | } |
| 60 | |
| 61 | func NewRecordIter(bytes Bytes, nopts int) RecordIter { |
| 62 | it := Iter(bytes) |
| 63 | var nones []byte |
| 64 | if nopts != 0 { |
| 65 | nones = it.Next() |
| 66 | } |
| 67 | return RecordIter{nones: nones, elems: it, nopts: nopts} |
| 68 | } |
| 69 | |
| 70 | // Next returns the next element of the record and false if its |
| 71 | // present; otherwise, nil and true for None. |
no test coverage detected