Skip to main content

Class BitCountFromRangeAttribute

Calculates bitcount from then given min/max values and then packs using Also See: Bit Packing Documentation

Inheritance
System.Object
System.Attribute
Inherited Members
Show
Syntax
[AttributeUsage(AttributeTargets.Field | AttributeTargets.Parameter)]
public class BitCountFromRangeAttribute : Attribute, _Attribute

Constructors

BitCountFromRangeAttribute(Int32, Int32)

Declaration
public BitCountFromRangeAttribute(int min, int max)
Parameters
TypeNameDescription
System.Int32minminimum possible int value
System.Int32maxminimum possible max value