ByteBuffer.wrap(new byte[] { -1, -2, 32, 0, 98, 0 }), out,
true).isError());
decoder.flush(out);
decoder.reset();
out.clear();
assertSame(CoderResult.UNDERFLOW, decoder.decode(ByteBuffer
.wrap(new byte[] { -1, -2, 32, 0, 98 }), out, false));
assertTrue(decoder.decode(ByteBuffer.wrap(new byte[] { 0 }), out,
true).isMalformed());