(WriteContext context, in byte[] value, bool hasGenerics)
| 252 | public override byte[] DefaultValue => null!; |
| 253 | |
| 254 | public override void WriteData(WriteContext context, in byte[] value, bool hasGenerics) |
| 255 | { |
| 256 | _ = hasGenerics; |
| 257 | byte[] safe = value ?? []; |
| 258 | context.Writer.WriteVarUInt32((uint)safe.Length); |
| 259 | context.Writer.WriteBytes(safe); |
| 260 | } |
| 261 | |
| 262 | public override byte[] ReadData(ReadContext context) |
| 263 | { |
nothing calls this directly
no test coverage detected