(t reflect.Type)
| 789 | } |
| 790 | |
| 791 | func constructUnsupportedTypeCodec(t reflect.Type) codec { |
| 792 | return codec{ |
| 793 | encode: constructUnsupportedTypeEncodeFunc(t), |
| 794 | decode: constructUnsupportedTypeDecodeFunc(t), |
| 795 | } |
| 796 | } |
| 797 | |
| 798 | func constructUnsupportedTypeEncodeFunc(t reflect.Type) encodeFunc { |
| 799 | return func(e encoder, b []byte, p unsafe.Pointer) ([]byte, error) { |
no test coverage detected
searching dependent graphs…