Skip to content

Commit

Permalink
fix #2619: is there a problem in NettyBackedChannelBuffer.setBytes(..…
Browse files Browse the repository at this point in the history
….)? (#3448)
  • Loading branch information
beiwei30 authored Feb 11, 2019
1 parent caac0b5 commit b757e19
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 62 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public void setBytes(int index, ChannelBuffer src, int srcIndex, int length) {
// careful
byte[] data = new byte[length];
buffer.getBytes(srcIndex, data, 0, length);
setBytes(0, data, index, length);
setBytes(index, data, 0, length);
}


Expand Down
Loading

0 comments on commit b757e19

Please sign in to comment.