Sign in
◑
Theme
gbmc
/
linux
/
cbbddb6b08cc9900a87cccaa9b22bbe06aa4f50a
/
.
/
rust
/
zerocopy
/
benches
/
write_to_prefix_static_size.rs
blob: 826222c129fed43c894390e83b44a05c4d400d32 [
file
]
use
zerocopy
::*;
#[
path
=
"formats/coco_static_size.rs"
]
mod
format
;
#[
unsafe
(
no_mangle
)]
fn
bench_write_to_prefix_static_size
(
source
:
&
format
::
CocoPacket
,
destination
:
&
mut
[
u8
],
)
->
Option
<()>
{
source
.
write_to_prefix
(
destination
).
ok
()
}