gitlab.com/evatix-go/core@v1.3.55/internal/internalinterface/internalenuminf/InternalByteEnumer.go (about)

     1  package internalenuminf
     2  
     3  type InternalByteEnumer interface {
     4  	AllNameValues() []string
     5  	IntegerEnumRanges() []int
     6  	RangesDynamicMap() map[string]interface{}
     7  	Format(format string) (compiled string)
     8  	IsNameEqual(name string) bool
     9  	IsByteValueEqual(value byte) bool
    10  
    11  	Name() string
    12  	NameValue() string
    13  	TypeName() string
    14  	ToNumberString() string
    15  	String() string
    16  
    17  	ValueInt() int
    18  	ValueInt8() int8
    19  	ValueInt16() int16
    20  	ValueInt32() int32
    21  	ValueString() string
    22  
    23  	MarshalJSON() ([]byte, error)
    24  	UnmarshalJSON(data []byte) error
    25  	RangeNamesCsv() string
    26  	RangesByte() []byte
    27  	ValueByte() byte
    28  	MaxByte() byte
    29  	MinByte() byte
    30  
    31  	IsAnyNamesOf(names ...string) bool
    32  	IsValueEqual(value byte) bool
    33  	IsAnyValuesEqual(anyByteValues ...byte) bool
    34  }