func (t *RawTag) UnmarshalCBOR(data []byte) error {
	if t == nil {
		return errors.New("cbor.RawTag: UnmarshalCBOR on nil pointer")
	}
	if len(data) == 1 && (data[0] == 0xf6 || data[0] == 0xf7) {
		return nil
	}
	d := decoder{data: data, dm: defaultDecMode}
	typ, _, num := d.getHead()
	if typ != cborTypeTag {
		return &UnmarshalTypeError{CBORType: typ.String(), GoType: typeRawTag.String()}
	}
	t.Number = num
	c := d.data[d.off:]
	t.Content = make([]byte, len(c))
	copy(t.Content, c)
	return nil
}
UnmarshalCBOR sets *t with tag number and raw tag content copied from data.
package cbor
import (
	"errors"
	"fmt"
	"reflect"
	"sync"
)
type Tag struct {
	Number  uint64
	Content interface{}
}
type RawTag struct {
	Number  uint64
	Content RawMessage
}