(t reflect.Type)
| 770 | } |
| 771 | |
| 772 | func constructInterfaceCodec(t reflect.Type) codec { |
| 773 | return codec{ |
| 774 | encode: constructMaybeEmptyInterfaceEncoderFunc(t), |
| 775 | decode: constructMaybeEmptyInterfaceDecoderFunc(t), |
| 776 | } |
| 777 | } |
| 778 | |
| 779 | func constructMaybeEmptyInterfaceEncoderFunc(t reflect.Type) encodeFunc { |
| 780 | return func(e encoder, b []byte, p unsafe.Pointer) ([]byte, error) { |
no test coverage detected
searching dependent graphs…