(ctx *WriteContext, refMode RefMode, writeType bool, hasGenerics bool, value reflect.Value)
| 86 | } |
| 87 | |
| 88 | func (s primitiveListSerializer) Write(ctx *WriteContext, refMode RefMode, writeType bool, hasGenerics bool, value reflect.Value) { |
| 89 | done := writeSliceRefAndType(ctx, refMode, writeType, value, LIST) |
| 90 | if done || ctx.HasError() { |
| 91 | return |
| 92 | } |
| 93 | s.writeDataWithGenerics(ctx, value, hasGenerics) |
| 94 | } |
| 95 | |
| 96 | func (s primitiveListSerializer) writeDataWithGenerics(ctx *WriteContext, value reflect.Value, hasGenerics bool) { |
| 97 | length := value.Len() |
nothing calls this directly
no test coverage detected