compresslevels

package
v0.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 7, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	BasicEnumImpl = enumimpl.New.BasicInt8.UsingTypeSlice(
		coredynamic.TypeName(Default),
		stringRanges[:])
)

Functions

This section is empty.

Types

type Variant

type Variant int8
const (
	Default Variant = iota
	Best
	Fast
	NoCompression
	Invalid
)

func (Variant) AllNameValues

func (it Variant) AllNameValues() []string

func (Variant) AsBasicByteEnumContractsBinder

func (it Variant) AsBasicByteEnumContractsBinder() enuminf.BasicInt8EnumContractsBinder

func (Variant) AsBasicEnumContractsBinder

func (it Variant) AsBasicEnumContractsBinder() enuminf.BasicEnumContractsBinder

func (Variant) AsBasicInt8EnumContractsBinder

func (it Variant) AsBasicInt8EnumContractsBinder() enuminf.BasicInt8EnumContractsBinder

func (Variant) AsJsonContractsBinder

func (it Variant) AsJsonContractsBinder() corejson.JsonContractsBinder

func (Variant) AsJsonMarshaller

func (it Variant) AsJsonMarshaller() corejson.JsonMarshaller

func (Variant) AsJsoner

func (it Variant) AsJsoner() corejson.Jsoner

func (Variant) EnumType

func (it Variant) EnumType() enuminf.EnumTyper

func (Variant) Flate

func (it Variant) Flate() int8

func (Variant) Format

func (it Variant) Format(format string) (compiled string)

func (Variant) IntegerEnumRanges

func (it Variant) IntegerEnumRanges() []int

func (Variant) IsAboveOrEqual

func (it Variant) IsAboveOrEqual(level Variant) bool

func (Variant) IsAnyNamesOf

func (it Variant) IsAnyNamesOf(names ...string) bool

func (Variant) IsAnyOf

func (it Variant) IsAnyOf(anyOfItems ...Variant) bool

func (Variant) IsAnyValuesEqual

func (it Variant) IsAnyValuesEqual(anyByteValues ...int8) bool

func (Variant) IsBest

func (it Variant) IsBest() bool

func (Variant) IsByteValueEqual

func (it Variant) IsByteValueEqual(value byte) bool

func (Variant) IsDefault

func (it Variant) IsDefault() bool

func (Variant) IsEqual

func (it Variant) IsEqual(level Variant) bool

func (Variant) IsFast

func (it Variant) IsFast() bool

func (Variant) IsInteger8ValueEqual

func (it Variant) IsInteger8ValueEqual(value int8) bool

func (Variant) IsInvalid

func (it Variant) IsInvalid() bool

func (Variant) IsLowerOrEqual

func (it Variant) IsLowerOrEqual(level Variant) bool

func (Variant) IsNameEqual

func (it Variant) IsNameEqual(name string) bool

func (Variant) IsNoCompression

func (it Variant) IsNoCompression() bool

func (Variant) IsValid

func (it Variant) IsValid() bool

func (Variant) IsValueEqual

func (it Variant) IsValueEqual(value byte) bool

func (Variant) Json

func (it Variant) Json() corejson.Result

func (*Variant) JsonParseSelfInject

func (it *Variant) JsonParseSelfInject(jsonResult *corejson.Result) error

func (Variant) JsonPtr

func (it Variant) JsonPtr() *corejson.Result

func (Variant) MarshalJSON

func (it Variant) MarshalJSON() ([]byte, error)

func (Variant) MaxByte

func (it Variant) MaxByte() int8

func (Variant) MaxInt

func (it Variant) MaxInt() int

func (Variant) MaxInt8

func (it Variant) MaxInt8() int8

func (Variant) MaxValueString

func (it Variant) MaxValueString() string

func (Variant) MinByte

func (it Variant) MinByte() int8

func (Variant) MinInt

func (it Variant) MinInt() int

func (Variant) MinInt8

func (it Variant) MinInt8() int8

func (Variant) MinMaxAny

func (it Variant) MinMaxAny() (min, max interface{})

func (Variant) MinValueString

func (it Variant) MinValueString() string

func (Variant) Name

func (it Variant) Name() string

func (Variant) NameValue

func (it Variant) NameValue() string

func (Variant) OnlySupportedErr

func (it Variant) OnlySupportedErr(names ...string) error

func (Variant) OnlySupportedMsgErr

func (it Variant) OnlySupportedMsgErr(message string, names ...string) error

func (Variant) RangeNamesCsv

func (it Variant) RangeNamesCsv() string

func (Variant) RangesDynamicMap

func (it Variant) RangesDynamicMap() map[string]interface{}

func (Variant) RangesInt8

func (it Variant) RangesInt8() []int8

func (Variant) String

func (it Variant) String() string

func (Variant) ToEnumString

func (it Variant) ToEnumString(input int8) string

func (Variant) ToInt8EnumString

func (it Variant) ToInt8EnumString(input int8) string

func (Variant) ToNumberString

func (it Variant) ToNumberString() string

func (Variant) ToPtr

func (it Variant) ToPtr() *Variant

func (Variant) TypeName

func (it Variant) TypeName() string

func (*Variant) UnmarshalJSON

func (it *Variant) UnmarshalJSON(data []byte) error

func (Variant) UnmarshallEnumToValue

func (it Variant) UnmarshallEnumToValue(
	jsonUnmarshallingValue []byte,
) (int8, error)

func (Variant) UnmarshallEnumToValueInt8

func (it Variant) UnmarshallEnumToValueInt8(
	jsonUnmarshallingValue []byte,
) (int8, error)

func (Variant) Value

func (it Variant) Value() int8

func (Variant) ValueByte

func (it Variant) ValueByte() byte

func (Variant) ValueInt

func (it Variant) ValueInt() int

func (Variant) ValueInt16

func (it Variant) ValueInt16() int16

func (Variant) ValueInt32

func (it Variant) ValueInt32() int32

func (Variant) ValueInt8

func (it Variant) ValueInt8() int8

func (Variant) ValueString

func (it Variant) ValueString() string

func (Variant) ValueUInt16

func (it Variant) ValueUInt16() uint16

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL