(size uintptr, t reflect.Type, encode encodeFunc)
| 337 | } |
| 338 | |
| 339 | func constructSliceEncodeFunc(size uintptr, t reflect.Type, encode encodeFunc) encodeFunc { |
| 340 | return func(e encoder, b []byte, p unsafe.Pointer) ([]byte, error) { |
| 341 | return e.encodeSlice(b, p, size, t, encode) |
| 342 | } |
| 343 | } |
| 344 | |
| 345 | func constructSliceDecodeFunc(size uintptr, t reflect.Type, decode decodeFunc) decodeFunc { |
| 346 | return func(d decoder, b []byte, p unsafe.Pointer) ([]byte, error) { |
no test coverage detected
searching dependent graphs…