Fixed usages of Bytes.write(Bytes) to conform old semantics

This commit is contained in:
leventov
2015-02-01 19:49:58 +07:00
parent e38f6df14c
commit 938b9dca7b
9 changed files with 7 additions and 14 deletions
@@ -504,7 +504,7 @@ final class ChannelProvider implements Closeable {
@Override
public void writeExternalEntry(@NotNull Bytes entry, @NotNull Bytes destination,
int na) {
destination.write(entry);
destination.write(entry, entry.position(), entry.remaining());
}
@Override