Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Refactor the code to make it cleaner, here is a summary of the changes.
- Instead of treating head/middle/tail differently, use a general way to write data into buffers.
- No more allocateBlockIfNeeded parameters being passed around.
- Stream will be closed if any exception happens, and IOException will be thrown.
Attachments
Issue Links
- links to