In c#, sizeof(T) returns a int32, not a UIntPtr/nuint.
Conversation
Notices
-
Embed this notice
mcc (mcc@mastodon.social)'s status on Saturday, 24-Feb-2024 05:36:39 JST mcc - GreenSkyOverMe (Monika) repeated this.
-
Embed this notice
Fish Id Wardrobe (fishidwardrobe@mastodon.me.uk)'s status on Saturday, 24-Feb-2024 05:36:42 JST Fish Id Wardrobe @mcc If you get a negative size, I assume that would be bad