You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Yes, you are correct. A similar fix was made in Unsigned32. Unsigned16 looks to already be correct (although it may have been fixed recently). Thanks for pointing this out.
Hey
In com.serotonin.bacnet4j.type.primitive.Unsigned8, Line 32
private static final int MAX = 0xff - 1;
This should be 0xff, isn't it?
8 bits, 2^8 = 256 possibilities,
so, 2^8 -1 = 255 = MAX Value = 0xff
The text was updated successfully, but these errors were encountered: