inline fn enum_array(comptime E: type, comptime tags: []const E) [2 + (@sizeOf(E) * tags.len)]u8

Parameters

E: type,
tags: []const E,