Do not try to decode more data than output buffer may hold