use static_assertions::const_assert_eq;
use zerocopy::little_endian::{U16 as U16LE, U64 as U64LE};
use zerocopy_derive::*;
#[derive(Copy, Clone, Debug, IntoBytes, FromBytes, Unaligned, KnownLayout)]
#[repr(C, packed)]
pub struct RootRef {
pub dirid: U64LE,
pub sequence: U64LE,
pub name_len: U16LE,
}
const_assert_eq!(core::mem::size_of::<RootRef>(), 18);