Sign in
◑
Theme
gbmc
/
linux
/
67b3eadfb80dee4dfd56ca624f33e2ac7ed5987a
/
.
/
rust
/
zerocopy
/
benches
/
read_from_bytes.rs
blob: 8a3baddad9cba46a0d034bf53d49de8de1363686 [
file
]
#[
path
=
"formats/coco_static_size.rs"
]
mod
format
;
#[
unsafe
(
no_mangle
)]
fn
bench_read_from_bytes_static_size
(
source
:
&[
u8
])
->
Option
<
format
::
LocoPacket
>
{
zerocopy
::
FromBytes
::
read_from_bytes
(
source
).
ok
()
}