kubernetes/vendor/github.com/google/cel-go/common/types/bytes.go

type Bytes

var byteWrapperType

// Add implements traits.Adder interface method by concatenating byte sequences.
func (b Bytes) Add(other ref.Val) ref.Val {}

// Compare implements traits.Comparer interface method by lexicographic ordering.
func (b Bytes) Compare(other ref.Val) ref.Val {}

// ConvertToNative implements the ref.Val interface method.
func (b Bytes) ConvertToNative(typeDesc reflect.Type) (any, error) {}

// ConvertToType implements the ref.Val interface method.
func (b Bytes) ConvertToType(typeVal ref.Type) ref.Val {}

// Equal implements the ref.Val interface method.
func (b Bytes) Equal(other ref.Val) ref.Val {}

// IsZeroValue returns true if the byte array is empty.
func (b Bytes) IsZeroValue() bool {}

// Size implements the traits.Sizer interface method.
func (b Bytes) Size() ref.Val {}

// Type implements the ref.Val interface method.
func (b Bytes) Type() ref.Type {}

// Value implements the ref.Val interface method.
func (b Bytes) Value() any {}