Hi!
I want to read with C# some binary file with well defined binary structure.
In C++ I was declaring appropriate struct, like:
typedef struct {BYTE b1; WORD w1, w2; DWORD dw1} REKORD1;
REKORD1 buff ;
and then read record from file with
read (file, (void *) &buff, sizeof (REKORD1));
Is this technique possible with C#? Now I have to "manually" bond together
particular values with ReadByte().
Thanks for any help
Paul