(t reflect.Type, encode encodeFunc)
| 758 | } |
| 759 | |
| 760 | func constructPointerEncodeFunc(t reflect.Type, encode encodeFunc) encodeFunc { |
| 761 | return func(e encoder, b []byte, p unsafe.Pointer) ([]byte, error) { |
| 762 | return e.encodePointer(b, p, t, encode) |
| 763 | } |
| 764 | } |
| 765 | |
| 766 | func constructPointerDecodeFunc(t reflect.Type, decode decodeFunc) decodeFunc { |
| 767 | return func(d decoder, b []byte, p unsafe.Pointer) ([]byte, error) { |
no test coverage detected
searching dependent graphs…