Sign in
◑
Theme
gbmc
/
linux
/
cbbddb6b08cc9900a87cccaa9b22bbe06aa4f50a
/
.
/
rust
/
zerocopy
/
benches
/
as_bytes_static_size.rs
blob: 2ad738e9548056aaf2eae75fc675f9065cbaa149 [
file
]
use
zerocopy
::*;
#[
path
=
"formats/coco_static_size.rs"
]
mod
format
;
#[
unsafe
(
no_mangle
)]
fn
bench_as_bytes_static_size
(
source
:
&
format
::
CocoPacket
)
->
&[
u8
]
{
source
.
as_bytes
()
}