(ctx *WriteContext, refMode RefMode, writeType bool, hasGenerics bool, value reflect.Value)
| 548 | } |
| 549 | |
| 550 | func (s uintSliceSerializer) Write(ctx *WriteContext, refMode RefMode, writeType bool, hasGenerics bool, value reflect.Value) { |
| 551 | var typeId TypeId = INT32_ARRAY |
| 552 | if strconv.IntSize == 64 { |
| 553 | typeId = INT64_ARRAY |
| 554 | } |
| 555 | done := writeSliceRefAndType(ctx, refMode, writeType, value, typeId) |
| 556 | if done || ctx.HasError() { |
| 557 | return |
| 558 | } |
| 559 | s.WriteData(ctx, value) |
| 560 | } |
| 561 | |
| 562 | func (s uintSliceSerializer) Read(ctx *ReadContext, refMode RefMode, readType bool, hasGenerics bool, value reflect.Value) { |
| 563 | done, typeId := readSliceRefAndType(ctx, refMode, readType, value) |
nothing calls this directly
no test coverage detected