Converts a number or bigint to SubgroupHeaderType.
The value to convert.
The corresponding SubgroupHeaderType.
Error if the value is not valid.
Converts a number or bigint to SubgroupHeaderType.