-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bindings/go: Fix bug with incomplete reads
Using Reader.read doesn't guarantee that the buffer passed will be filled if enough data is available, and the buffer has enough space. This meant that sometimes an initial Read call would not suffice for large Document data. Use ReadAtLeast to avoid that.
- Loading branch information
1 parent
9a03eb7
commit 5ce20e1
Showing
3 changed files
with
31 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.