const Flags = packed struct(u8)
const Flags = packed struct(u8) { chunk_start: bool = false, chunk_end: bool = false, parent: bool = false, root: bool = false, keyed_hash: bool = false, derive_key_context: bool = false, derive_key_material: bool = false, reserved: bool = false, fn toInt(self: Flags) u8 { return @bitCast(self); } fn with(self: Flags, other: Flags) Flags { return @bitCast(self.toInt() | other.toInt()); } }