• Joined on 2026年05月18日
drosseau commented on issue ziglang/zig#35346 2026年05月20日 15:56:01 +02:00
Unexpected asBytes behavior for nonstandard unsigned ints

Thanks the @bitCast is definitely the way to go for me. I still find the behavior of asBytes in this case unintuitive though. Maybe just a note in the documentation would be helpful.

drosseau commented on issue ziglang/zig#35346 2026年05月19日 02:59:52 +02:00
Unexpected asBytes behavior for nonstandard unsigned ints

Yea it seems like adding that logic into the AsBytesReturnType would end up being potentially bad; I just included it because I wanted to see what exactly was going on so I tracked down the...

drosseau opened issue ziglang/zig#35346 2026年05月18日 21:25:10 +02:00
Unexpected asBytes behavior for nonstandard unsigned ints