cr = decoder.decode(source, target, flush);
// check pointers and errors
if (cr.isOverflow()) {
// the partial target is filled, set a new limit,
oStep = (target.position() + step);
target.limit((oStep < target.capacity()) ? oStep
: target.capacity());
if (target.limit() > target.capacity()) {
//target has reached its limit, an error occurred or test case has an error code
//check error code
logln("UnExpected error: Target Buffer is larger than capacity");