@ Override public void parse ( final byte [ ] pData , final Collection < TagAndLength > pTags ) { Collection < AnnotationData > set = getAnnotationSet ( pTags ) ; BitUtils bit = new BitUtils ( pData ) ; Iterator < AnnotationData > it = set . iterator ( ) ; while ( it . hasNext ( ) ) { AnnotationData data = it . next ( ) ; if ( data . isSkip ( ) ) { bit . addCurrentBitIndex ( data . getSize ( ) ) ; } else { Object obj = DataFactory . getObject ( data , bit ) ; setField ( data . getField ( ) , this , obj ) ; } } }
Method to parse byte data