(WriteContext context, in long[] value, bool hasGenerics)
| 163 | public override long[] DefaultValue => null!; |
| 164 | |
| 165 | public override void WriteData(WriteContext context, in long[] value, bool hasGenerics) |
| 166 | { |
| 167 | _ = hasGenerics; |
| 168 | long[] safe = value ?? []; |
| 169 | context.Writer.WriteVarUInt32((uint)(safe.Length * 8)); |
| 170 | for (int i = 0; i < safe.Length; i++) |
| 171 | { |
| 172 | context.Writer.WriteInt64(safe[i]); |
| 173 | } |
| 174 | } |
| 175 | |
| 176 | public override long[] ReadData(ReadContext context) |
| 177 | { |
nothing calls this directly
no test coverage detected