(WriteContext context, in uint[] value, bool hasGenerics)
| 237 | public override uint[] DefaultValue => null!; |
| 238 | |
| 239 | public override void WriteData(WriteContext context, in uint[] value, bool hasGenerics) |
| 240 | { |
| 241 | _ = hasGenerics; |
| 242 | uint[] safe = value ?? []; |
| 243 | context.Writer.WriteVarUInt32((uint)(safe.Length * 4)); |
| 244 | for (int i = 0; i < safe.Length; i++) |
| 245 | { |
| 246 | context.Writer.WriteUInt32(safe[i]); |
| 247 | } |
| 248 | } |
| 249 | |
| 250 | public override uint[] ReadData(ReadContext context) |
| 251 | { |
nothing calls this directly
no test coverage detected