Creates an enum decoder.
The constructor of the enum.
Optionalconfig: Omit<EnumCodecConfig<NumberDecoder>, "size">A set of config for the decoder.
Creates an enum decoder.
The constructor of the enum.
A set of config for the decoder.
Creates an enum decoder.
The constructor of the enum.
Optionalconfig: EnumCodecConfig<NumberDecoder>A set of config for the decoder.
Deprecated
Use
getEnumDecoderinstead.