▲ | guappa 10 hours ago | |||||||
I want a struct, not to having to write the code manually to do a struct every single time. I know you can do that in go but as I already said: "more error prone than C". | ||||||||
▲ | mrbadguy 8 hours ago | parent [-] | |||||||
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. | ||||||||
|