forked from rust-bitcoin/rust-bitcoin
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge rust-bitcoin#2339: io: Add read_to_end trait method to Read
3333dba Use new read_to_limit function (Tobin C. Harding) f29da57 io: Add functions to read to the end of a reader (Tobin C. Harding) Pull request description: Total re-write, now does: - Add a method to the `io::Take` trait `read_to_end` - Add a method to the `io::Read` trait `read_to_limit` (with default impl that calls through to `Take::read_to_end`) - Use the new methods and remove `psbt::read_to_end` ACKs for top commit: apoelstra: ACK 3333dba Tree-SHA512: ce4439a85296db36013e284ebce6f91665b1daa21e6d5a570746a3dea789aec3e6a32d295ab88a8c72b56ee8d50b18e142cbd684980076f2e88c3ae7acf5c322
- Loading branch information
Showing
2 changed files
with
67 additions
and
16 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
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