AspNet.ViewState.NCache.Professional by Alachisoft

<PackageReference Include="AspNet.ViewState.NCache.Professional" Version="5.3.0.1" />

.NET API 1,372,160 bytes

 MemoryUtil

public class MemoryUtil
public const string Java_Lang_Boolean = "java.lang.Boolean"

public const string Java_Lang_Byte = "java.lang.Byte"

public const string Java_Lang_Character = "java.lang.Character"

public const string Java_Lang_Double = "java.lang.Double"

public const string Java_Lang_Float = "java.lang.Float"

public const string Java_Lang_Integer = "java.lang.Integer"

public const string Java_Lang_Long = "java.lang.Long"

public const string Java_Lang_Object = "java.lang.Object"

public const string Java_Lang_Short = "java.lang.Short"

public const string Java_Lang_String = "java.lang.String"

public const string Java_Match_BigDecimal = "java.math.BigDecimal"

public const string Java_Util_Date = "java.util.Date"

public const int KB = 1024

public const string Net_bool = "bool"

public const string Net_byte = "byte"

public const string Net_char = "char"

public const string Net_decimal = "decimal"

public const string Net_double = "double"

public const string Net_float = "float"

public const string Net_int = "int"

public const string Net_long = "long"

public const string Net_sbyte = "sbyte"

public const string Net_short = "short"

public const string Net_string = "string"

public const string Net_System_Boolean = "System.Boolean"

public const string Net_System_Byte = "System.Byte"

public const string Net_System_Char = "System.Char"

public const string Net_System_DateTime = "System.DateTime"

public const string Net_System_Decimal = "System.Decimal"

public const string Net_System_Double = "System.Double"

public const string Net_System_Int16 = "System.Int16"

public const string Net_System_Int32 = "System.Int32"

public const string Net_System_Int64 = "System.Int64"

public const string Net_System_Object = "System.Object"

public const string Net_System_SByte = "System.SByte"

public const string Net_System_Single = "System.Single"

public const string Net_System_String = "System.String"

public const string Net_System_UInt16 = "System.UInt16"

public const string Net_System_UInt32 = "System.UInt32"

public const string Net_SystemUInt64 = "System.UInt64"

public const string Net_uint = "uint"

public const string Net_ulong = "ulong"

public const string Net_ushort = "ushort"

public const int NetByteSize = 1

public const int NetClassOverHead = 16

public const int NetDateTimeSize = 8

public const int NetEnumSize = 4

public const int NetHashtableOverHead = 45

public const int NetIntSize = 4

public const int NetListOverHead = 8

public const int NetLongSize = 8

public const int NetOverHead = 24

public const int NetReferenceSize = 8

public const int NetShortSize = 2

public const int NetStringCharSize = 16

public MemoryUtil()

public static ArraySegment<TReturn>[] GetArraySegments<TReturn>(IList list)

public static AttributeTypeSize GetAttributeTypeSize(string type)

public static Type GetDataType(string typeName)

public static int GetInMemoryInstanceSize(int actualDataBytes)

public static long GetInMemoryInstanceSize(long actualDataBytes)

public static int GetSafeByteCollectionCount(long length)

public static int GetSafeCollectionCount<T>(long length)

public static int GetStringSize(object key)

public static int GetStringSize(object[] keys)

public static int GetStringSizeWithoutNetOverhead(object arg)

public static int GetTypeSize(AttributeTypeSize type)