This website works better with JavaScript.
Home
Explore
Help
Sign In
izz
/
ilmp
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
add verification right in the read method
master
Isabelle L.
5 years ago
parent
1fcfd318d3
commit
b91db044c9
1 changed files
with
1 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
src/lib.rs
+ 1
- 0
src/lib.rs
View File
@@ -148,6 +148,7 @@ where
stream.read(&mut contents).await?;
let packet = Packet::from_network(packet_kind, contents, checksum);
packet.verify_integrity()?;
Ok(Some(packet))
}
Write
Preview
Loading…
Cancel
Save