(t reflect.Type, encodeKey, encodeValue encodeFunc, sortKeys sortFunc)
| 451 | } |
| 452 | |
| 453 | func constructMapEncodeFunc(t reflect.Type, encodeKey, encodeValue encodeFunc, sortKeys sortFunc) encodeFunc { |
| 454 | return func(e encoder, b []byte, p unsafe.Pointer) ([]byte, error) { |
| 455 | return e.encodeMap(b, p, t, encodeKey, encodeValue, sortKeys) |
| 456 | } |
| 457 | } |
| 458 | |
| 459 | func constructMapDecodeFunc(t reflect.Type, decodeKey, decodeValue decodeFunc) decodeFunc { |
| 460 | kt := t.Key() |
no test coverage detected
searching dependent graphs…