(ctx *ReadContext, refMode RefMode, readType bool, hasGenerics bool, value reflect.Value)
| 305 | } |
| 306 | |
| 307 | func (s timeSerializer) Read(ctx *ReadContext, refMode RefMode, readType bool, hasGenerics bool, value reflect.Value) { |
| 308 | err := ctx.Err() |
| 309 | if refMode != RefModeNone { |
| 310 | if ctx.buffer.ReadInt8(err) == NullFlag { |
| 311 | return |
| 312 | } |
| 313 | } |
| 314 | if readType && !ctx.readExpectedTypeID(TIMESTAMP) { |
| 315 | return |
| 316 | } |
| 317 | if ctx.HasError() { |
| 318 | return |
| 319 | } |
| 320 | s.ReadData(ctx, value) |
| 321 | } |
| 322 | |
| 323 | func (s timeSerializer) ReadWithTypeInfo(ctx *ReadContext, refMode RefMode, typeInfo *TypeInfo, value reflect.Value) { |
| 324 | s.Read(ctx, refMode, false, false, value) |
no test coverage detected