...
1
2
3
4 package codec
5
6 import "reflect"
7
8
9
10
11
12 func (h *JsonHandle) SetInterfaceExt(rt reflect.Type, tag uint64, ext InterfaceExt) (err error) {
13 return h.SetExt(rt, tag, makeExt(ext))
14 }
15
16
17 func (h *CborHandle) SetInterfaceExt(rt reflect.Type, tag uint64, ext InterfaceExt) (err error) {
18 return h.SetExt(rt, tag, makeExt(ext))
19 }
20
21
22 func (h *MsgpackHandle) SetBytesExt(rt reflect.Type, tag uint64, ext BytesExt) (err error) {
23 return h.SetExt(rt, tag, makeExt(ext))
24 }
25
26
27 func (h *SimpleHandle) SetBytesExt(rt reflect.Type, tag uint64, ext BytesExt) (err error) {
28 return h.SetExt(rt, tag, makeExt(ext))
29 }
30
31
32 func (h *BincHandle) SetBytesExt(rt reflect.Type, tag uint64, ext BytesExt) (err error) {
33 return h.SetExt(rt, tag, makeExt(ext))
34 }
35
36
37
38
39
View as plain text