public byte [ ] readSequenceData ( int length ) throws AsnException , IOException { AsnInputStream ais = this . readSequenceStreamData ( length ) ; byte [ ] res = new byte [ ais . length ] ; System . arraycopy ( ais . buffer , ais . start + ais . pos , res , 0 , ais . length ) ; return res ; }
This method can be invoked after the sequence tag and length has been read . Returns the byte stream that contains the sequence data . The origin stream advances to the begin of the next record