question: public void readContent ( ) throws IOException { if ( offset + length > buffer . length ) { throw new ASN1Exception ( "Unexpected end of encoding" ) ; } if ( in == null ) { offset += length ; } else { int bytesRead = in . read ( buffer , offset , length ) ; if ( bytesRead != length ) { int c = bytesRead ; do { if ( c < 1 || bytesRead > length ) { throw new ASN1Exception ( "Failed to read encoded content" ) ; } c = in . read ( buffer , offset + bytesRead , length - bytesRead ) ; bytesRead += c ; } while ( bytesRead != length ) ; } offset += length ; } }
target:  Reads the next encoded content from the encoded input stream. The method MUST be used for reading a primitive encoded content.