(ReadContext context, TypeMetaFieldType fieldType)
| 222 | } |
| 223 | |
| 224 | private static void SkipPayload(ReadContext context, TypeMetaFieldType fieldType) |
| 225 | { |
| 226 | switch (fieldType.TypeId) |
| 227 | { |
| 228 | case (uint)TypeId.Bool: |
| 229 | case (uint)TypeId.Int8: |
| 230 | case (uint)TypeId.UInt8: |
| 231 | context.Reader.Skip(1); |
| 232 | return; |
| 233 | case (uint)TypeId.Int16: |
| 234 | case (uint)TypeId.UInt16: |
| 235 | case (uint)TypeId.Float16: |
| 236 | case (uint)TypeId.BFloat16: |
| 237 | context.Reader.Skip(2); |
| 238 | return; |
| 239 | case (uint)TypeId.Int32: |
| 240 | case (uint)TypeId.UInt32: |
| 241 | case (uint)TypeId.Float32: |
| 242 | context.Reader.Skip(4); |
| 243 | return; |
| 244 | case (uint)TypeId.Int64: |
| 245 | case (uint)TypeId.UInt64: |
| 246 | case (uint)TypeId.Float64: |
| 247 | context.Reader.Skip(8); |
| 248 | return; |
| 249 | case (uint)TypeId.Date: |
| 250 | _ = context.Reader.ReadVarInt64(); |
| 251 | return; |
| 252 | case (uint)TypeId.Timestamp: |
| 253 | context.Reader.Skip(12); |
| 254 | return; |
| 255 | case (uint)TypeId.Duration: |
| 256 | _ = context.Reader.ReadVarInt64(); |
| 257 | context.Reader.Skip(4); |
| 258 | return; |
| 259 | case (uint)TypeId.VarInt32: |
| 260 | _ = context.Reader.ReadVarInt32(); |
| 261 | return; |
| 262 | case (uint)TypeId.VarUInt32: |
| 263 | _ = context.Reader.ReadVarUInt32(); |
| 264 | return; |
| 265 | case (uint)TypeId.VarInt64: |
| 266 | _ = context.Reader.ReadVarInt64(); |
| 267 | return; |
| 268 | case (uint)TypeId.VarUInt64: |
| 269 | _ = context.Reader.ReadVarUInt64(); |
| 270 | return; |
| 271 | case (uint)TypeId.TaggedInt64: |
| 272 | _ = context.Reader.ReadTaggedInt64(); |
| 273 | return; |
| 274 | case (uint)TypeId.TaggedUInt64: |
| 275 | _ = context.Reader.ReadTaggedUInt64(); |
| 276 | return; |
| 277 | case (uint)TypeId.String: |
| 278 | _ = StringSerializer.ReadString(context); |
| 279 | return; |
| 280 | case (uint)TypeId.Decimal: |
| 281 | _ = context.TypeResolver.GetSerializer<decimal>().ReadData(context); |
nothing calls this directly
no test coverage detected