blob: 2ad738e9548056aaf2eae75fc675f9065cbaa149 (
plain)
1
2
3
4
5
6
7
8
9
|
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()
}
|