☰
Debian Codegraph
@
0.12.0-1
0.10.0-1
/
/
debian
/
rust-vendor
/
zerocopy
/
benches
/
read_from_bytes.rs
☽
☼
debian/rust-vendor/zerocopy/benches/read_from_bytes.rs
code
plain
raw
MIT
or
Apache-2.0
the respective crate authors
debian/copyright
1
#[path = "formats/coco_static_size.rs"]
2
mod format;
3
4
#[unsafe(no_mangle)]
5
fn bench_read_from_bytes_static_size(source: &[u8]) -> Option<format::LocoPacket> {
6
zerocopy::FromBytes::read_from_bytes(source).ok()
7
}