if (extraCRLF) {
crlf = 2;
}
if (maxLiteralSize > 0 && maxLiteralSize > size) {
throw new DecodingException(HumanReadableText.FAILED, "Specified literal is greater then the allowed size");
}
// Check if we have enough data
if (size + crlf > buffer.readableBytes()) {
// ok let us throw a exception which till the decoder how many more
// bytes we need