I used FileWriter.interface.writeStruct(). Handy!
But why can’t we read structs? where is readStruct()?
I think you’re looking for Reader.takeStruct
https://codeberg.org/ziglang/zig/src/branch/master/lib/std/Io/Reader.zig#L1224
1 Like
o m g
Thanks!!
1 Like