Search Results for

    Show / Hide Table of Contents

    Class Int53Attribute

    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).

    Inheritance
    System.Object
    System.Attribute
    SerializationAttribute
    Int53Attribute
    Namespace: DisCatSharp.Common.Serialization
    Assembly: DisCatSharp.Common.dll
    Syntax
    [AttributeUsage(AttributeTargets.Property | AttributeTargets.Field)]
    public sealed class Int53Attribute : SerializationAttribute

    Fields

    | Improve this Doc View Source

    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.

    Declaration
    public const long MAX_VALUE = 9007199254740991L
    Field Value
    Type Description
    System.Int64
    | Improve this Doc View Source

    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.

    Declaration
    public const long MIN_VALUE = -9007199254740991L
    Field Value
    Type Description
    System.Int64

    Extension Methods

    ReflectionUtilities.ToDictionary<T>(T)
    • Improve this Doc
    • View Source
    In This Article
    Back to top © 2021-2022 Aiko IT Systems