-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dev #182
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changelog needs to be updated
@@ -156,7 +156,7 @@ class ClientBrowser extends ClientBase with ClientMixin { | |||
|
|||
while (offset < size) { | |||
var chunk; | |||
final end = min(offset + CHUNK_SIZE - 1, size - 1); | |||
final end = min(offset + CHUNK_SIZE, size); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lohanidamodar do we really want to make this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes
@@ -283,7 +283,7 @@ class ClientIO extends ClientBase with ClientMixin { | |||
while (offset < size) { | |||
List<int> chunk = []; | |||
if (file.bytes != null) { | |||
final end = min(offset + CHUNK_SIZE - 1, size - 1); | |||
final end = min(offset + CHUNK_SIZE, size); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@lohanidamodar do we really want to make this change?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes
What does this PR do?
Test Plan
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work.)
Related PRs and Issues
(If this PR is related to any other PR or resolves any issue or related to any issue link all related PR and issues here.)
Have you read the Contributing Guidelines on issues?
(Write your answer here.)