|
|
|
|
|
by mrbadguy
575 days ago
|
|
Can you please give me an example of what you don’t like? I’m not sure I understand the “write the code manually to do a struct” bit. You have to define the struct for sure, but beyond that you just pass it to binary.Read and it comes back with the fields populated. I don’t see how you’d avoid defining the struct. |
|
Once one has to handle that sort of situation, and actually copy the data, the lack of language support for such type-punning becomes immaterial.