-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add SizeOfInstanceFields for Unsafe #33
Comments
Could you please clarify the issue a bit more? |
What is size of this struct, 5 or 8?
C# sizeof and Unsafe.SizeOf will tell 8, but I want 5. And not using reflection or runtime codegen. |
Ok. Now I get it. Thanks. Will fix. |
I am not sure if reflection based stuff have or not have that type of API, but unsafe based stuff (which works within AOT), do not have that for sure. But anyway, because it lacked in unsafe part, calculated manually. |
SizeOf != SizeOfInstance Fields. needed for networking.
The text was updated successfully, but these errors were encountered: