issues
search
wormhole-foundation
/
wormhole-sdk-rs
Rust Wormhole SDK
8
stars
5
forks
source link
io: check if empty and add `read_slice`
#56
Closed
a5-pickle
closed
9 months ago
a5-pickle
commented
9 months ago
Couple changes:
read_payload
now checks if the Reader is actually empty. If it isn't, Err.
Add
read_slice
Couple changes:
read_payload
now checks if the Reader is actually empty. If it isn't, Err.read_slice