How would you interpret the record size in an example, for the first record for a file using C#?
Posted on 2016-10-11
I am writing a C# console application. I read a binary file. In the file there is a binary, four-byte
field that precedes each record and displays the number of positions in the record (excluding
itself) in Motorola byte order. How would you interpret the record size in this example for the first record?
The first 2 bytes after the number of positions is the Record Type which appears to be "01" (value of  and ).
var bytes = File.ReadAllBytes(filePath);