how to do some validation while reading (>> operator)? can we read the first field and match with some kind of magical number? or other method
how to do some validation while reading (>> operator)?
can we read the first field and match with some kind of magical number?
or other method