Fix unreplayble error

This commit is contained in:
Norman Maurer 2013-02-14 11:18:12 +01:00
parent 54435a908f
commit 6983f704c0

View File

@ -466,7 +466,9 @@ final class ReplayingDecoderBuffer implements ByteBuf {
@Override
public ByteBuf readBytes(ByteBuf dst) {
throw new UnreplayableOperationException();
checkReadableBytes(dst.writableBytes());
buffer.readBytes(dst);
return this;
}
@Override