src/main/java/com/amazonaws/encryptionsdk/model/CipherBlockHeaders.java [140:148]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  private int parseNonce(final byte[] b, final int off) throws ParseException {
    final int bytesToParseLen = b.length - off;
    if (bytesToParseLen >= nonceLength_) {
      nonce_ = Arrays.copyOfRange(b, off, off + nonceLength_);
      return nonceLength_;
    } else {
      throw new ParseException("Not enough bytes to parse nonce");
    }
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



src/main/java/com/amazonaws/encryptionsdk/model/CipherFrameHeaders.java [142:150]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  private int parseNonce(final byte[] b, final int off) throws ParseException {
    final int bytesToParseLen = b.length - off;
    if (bytesToParseLen >= nonceLength_) {
      nonce_ = Arrays.copyOfRange(b, off, off + nonceLength_);
      return nonceLength_;
    } else {
      throw new ParseException("Not enough bytes to parse nonce");
    }
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



