API reference
Class Int53Attribute
- Namespace
- DisCatSharp.Common.Serialization
- Assembly
- DisCatSharp.Common.dll
Specifies that this 64-bit integer uses no more than 53 bits to represent its value.
This is used to indicate that large numbers are safe for direct serialization into formats which do support 64-bit integers natively (such as JSON).
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field)]
public sealed class Int53Attribute : SerializationAttribute
- Inheritance
-
Int53Attribute
- Inherited Members
- Extension Methods
Fields
- MAX_VALUE
Gets the maximum safe value representable as an integer by a IEEE754 64-bit binary floating point value.
This value equals to 9007199254740991.
- MIN_VALUE
Gets the minimum safe value representable as an integer by a IEEE754 64-bit binary floating point value.
This value equals to -9007199254740991.