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