© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
12 replies
Pandetthe

Struct with explicit layout

Hi, I am using Wintab and I am trying to make packet struct, but I have some problem. In some situations field x is uint but in others it's a int. Is there any option to determine if it's now uint or int or I need to have two fields - uint and int at the same offset
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Help with Implicit Explicit operators
C#CC# / help
4y ago
✅ Explicit interface implementation
C#CC# / help
17mo ago
explicit null param
C#CC# / help
4y ago
✅ Separate local function with explicit 'return' statement
C#CC# / help
13mo ago