const MapContext = struct
const MapContext = struct { cb: *const Bundle, pub fn hash(ctx: MapContext, k: der.Element.Slice) u64 { return std.hash_map.hashString(ctx.cb.bytes.items[k.start..k.end]); } pub fn eql(ctx: MapContext, a: der.Element.Slice, b: der.Element.Slice) bool { const bytes = ctx.cb.bytes.items; return mem.eql( u8, bytes[a.start..a.end], bytes[b.start..b.end], ); } }