-
-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
go-msgio implements the message length limit (currently 8MB), so the secio reader can get away without re-implementing this logic. Instead, the reader lets go-msgio allocate a buffer when the output buffer is too small to hold the incoming message. This buffer is kept and drained into the output buffer(s) of Read() calls and released back to the msgio instance once it is fully drained. License: MIT Signed-off-by: Randall Leeds <[email protected]>
- Loading branch information
Showing
1 changed file
with
62 additions
and
37 deletions.
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