in src/main/java/com/amazonaws/encryptionsdk/model/CiphertextFooters.java [60:78]
public int deserialize(final byte[] b, final int off) throws ParseException {
if (b == null) {
return 0;
}
int parsedBytes = 0;
try {
if (authLength_ < 0) {
parsedBytes += parseLength(b, off + parsedBytes);
}
if (mAuth_ == null) {
parsedBytes += parseMauth(b, off + parsedBytes);
}
isComplete_ = true;
} catch (ParseException e) {
// this results when we do partial parsing and there aren't enough
// bytes to parse; ignore it and return the bytes parsed thus far.
}
return parsedBytes;
}