Hello,
If I'm using the FieldLength attribute for an double array the stream position after de-serialization is wrong. If I'm using the FieldCount the position is correct.
Hier are the class I'm using :
{
[FieldOrder(0)]
public int Length { get; set; }
[FieldOrder(10)]
[FieldLength(nameof(Length))]
public double[] Data { get; set; }
}
If the Length Property = 10 the File position after reading should 84 but I'm getting 14 (am attached the small test program)
Program.zip
It also looks like that it is not working for float and long.
Hello, If I'm using the FieldLength attribute for an double array the stream position after de-serialization is wrong. If I'm using the FieldCount the position is correct.
Hier are the class I'm using :
If the Length Property = 10 the File position after reading should 84 but I'm getting 14 (am attached the small test program) Program.zip
It also looks like that it is not working for float and long.