question: private int parseContentType ( final byte [ ] b , final int off ) throws ParseException { contentTypeVal_ = PrimitivesParser . parseByte ( b , off ) ; if ( ContentType . deserialize ( contentTypeVal_ ) == null ) { throw new BadCiphertextException ( "Invalid content type in ciphertext." ) ; } return 1 ; }
target:  Parse the content type in the provided bytes. It looks for a single byte in the provided bytes starting at the specified off. <p> If successful, it returns 1 indicating that a byte was parsed. On failure, it throws a parse exception.