(WriteContext context, in ulong[] value, bool hasGenerics)
| 274 | public override ulong[] DefaultValue => null!; |
| 275 | |
| 276 | public override void WriteData(WriteContext context, in ulong[] value, bool hasGenerics) |
| 277 | { |
| 278 | _ = hasGenerics; |
| 279 | ulong[] safe = value ?? []; |
| 280 | context.Writer.WriteVarUInt32((uint)(safe.Length * 8)); |
| 281 | for (int i = 0; i < safe.Length; i++) |
| 282 | { |
| 283 | context.Writer.WriteUInt64(safe[i]); |
| 284 | } |
| 285 | } |
| 286 | |
| 287 | public override ulong[] ReadData(ReadContext context) |
| 288 | { |
nothing calls this directly
no test coverage detected