(f *codecFnInfo, rv reflect.Value)
| 437 | } |
| 438 | |
| 439 | func (e *Encoder) kArray(f *codecFnInfo, rv reflect.Value) { |
| 440 | if f.ti.mbs { |
| 441 | e.kArrayWMbs(rv, f.ti) |
| 442 | } else if handleBytesWithinKArray && uint8TypId == rt2id(f.ti.elem) { |
| 443 | e.e.EncodeStringBytesRaw(rvGetArrayBytes(rv, []byte{})) |
| 444 | } else { |
| 445 | e.kArrayW(rv, f.ti) |
| 446 | } |
| 447 | } |
| 448 | |
| 449 | func (e *Encoder) kSliceBytesChan(rv reflect.Value) { |
| 450 | // do not use range, so that the number of elements encoded |
nothing calls this directly
no test coverage detected