hy00nc commented on a change in pull request #206: [NEMO-369]
DirectByteArrayOutputStream usage refactoring
URL: https://github.com/apache/incubator-nemo/pull/206#discussion_r268950538
##########
File path:
common/src/main/java/org/apache/nemo/common/DirectByteArrayOutputStream.java
##########
@@ -42,16 +43,11 @@ public DirectByteArrayOutputStream(final int size) {
}
/**
+ * Note that serializedBytes include invalid bytes.
+ * So we have to use it with the actualLength whenever needed
Review comment:
@DifferentSC Added them just now. Thank you!
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services