(t reflect.Type, unexported bool, offset uintptr, field codec)
| 529 | } |
| 530 | |
| 531 | func constructEmbeddedStructPointerCodec(t reflect.Type, unexported bool, offset uintptr, field codec) codec { |
| 532 | return codec{ |
| 533 | encode: constructEmbeddedStructPointerEncodeFunc(t, unexported, offset, field.encode), |
| 534 | decode: constructEmbeddedStructPointerDecodeFunc(t, unexported, offset, field.decode), |
| 535 | } |
| 536 | } |
| 537 | |
| 538 | func constructEmbeddedStructPointerEncodeFunc(t reflect.Type, unexported bool, offset uintptr, encode encodeFunc) encodeFunc { |
| 539 | return func(e encoder, b []byte, p unsafe.Pointer) ([]byte, error) { |
no test coverage detected
searching dependent graphs…