Closed Arwalk closed 3 years ago
currently having fun with pointers, but @ bitCast could probably a better option.
https://github.com/Arwalk/zig-protobuf/blob/52cfc14cb58b2680bdad3fbe054e37018f1c4bc7/src/protobuf.zig#L621
Probably can reuse most of @ptrCast in @ bitCast.
It would seem i pinged by mistake someone whose nick is bitcast :( sorry in advance!
currently having fun with pointers, but @ bitCast could probably a better option.
https://github.com/Arwalk/zig-protobuf/blob/52cfc14cb58b2680bdad3fbe054e37018f1c4bc7/src/protobuf.zig#L621