func (tf *TagFilter) Marshal(dst []byte) []byte {
	dst = encoding.MarshalBytes(dst, tf.Key)
	dst = encoding.MarshalBytes(dst, tf.Value)

	x := 0
	if tf.IsNegative {
		x = 2
	}
	if tf.IsRegexp {
		x |= 1
	}
	dst = append(dst, byte(x))

	return dst
}
// Marshal appends marshaled tf to dst and returns the result.
Marshal appends marshaled tf to dst and returns the result.
// Marshal appends marshaled tf to dst and returns the result .
func (tf *TagFilter) Marshal(dst []byte) []byte {
	dst = encoding.MarshalBytes(dst, tf.Key)
	dst = encoding.MarshalBytes(dst, tf.Value)
	x := 0
	if tf.IsNegative {
		x = 2
	}
	if tf.IsRegexp {
		x |= 1
	}
	dst = append(dst, byte(x))
	return dst
}
func ( tf * TagFilter ) Marshal ( dst [ ] byte ) [ ] byte { dst = encoding . MarshalBytes ( dst , tf . Key ) dst = encoding . MarshalBytes ( dst , tf . Value ) x := 0 if tf . IsNegative { x = 2 } if tf . IsRegexp { x |= 1 } dst = append ( dst , byte ( x ) ) return dst }
Marshal appends marshaled tf to dst and returns the result.
Marshal appends marshaled tf to dst and returns the result .