Fixed a bug: NETTY-129 CompositeChannelBuffer.getBytes(offset, GatheringByteChannel, length) doesn't respect offset and length parameter
This commit is contained in:
parent
cd3859b002
commit
35ac9ef38e
@ -220,7 +220,7 @@ public class CompositeChannelBuffer extends AbstractChannelBuffer {
|
||||
throws IOException {
|
||||
// XXX Gathering write is not supported because of a known issue.
|
||||
// See http://bugs.sun.com/view_bug.do?bug_id=6210541
|
||||
return out.write(toByteBuffer());
|
||||
return out.write(toByteBuffer(index, length));
|
||||
}
|
||||
|
||||
public void getBytes(int index, OutputStream out, int length)
|
||||
|
Loading…
x
Reference in New Issue
Block a user