Table of Contents

Class SizeConstants

Namespace
The.Model
Assembly
Instagile.Model.dll

Constants for calculating memory sizes of Row objects and their components. All sizes are for 64-bit CLR.

public static class SizeConstants
Inheritance
SizeConstants
Inherited Members

Fields

ARRAY_OVERHEAD

public const uint ARRAY_OVERHEAD = 24

Field Value

uint

BOOL_BOX

public const uint BOOL_BOX = 24

Field Value

uint

CHAR_SIZE

public const uint CHAR_SIZE = 2

Field Value

uint

DATETIME_BOX

public const uint DATETIME_BOX = 24

Field Value

uint

DATE_BOX

public const uint DATE_BOX = 24

Field Value

uint

DEC_BOX

public const uint DEC_BOX = 32

Field Value

uint

GUID_BOX

public const uint GUID_BOX = 40

Field Value

uint

INSTANT_BOX

public const uint INSTANT_BOX = 32

Field Value

uint

INT_BOX

public const uint INT_BOX = 24

Field Value

uint

LONG_BOX

public const uint LONG_BOX = 24

Field Value

uint

OBJECT_HEADER

public const uint OBJECT_HEADER = 16

Field Value

uint

POINTER

public const uint POINTER = 8

Field Value

uint

ROW_BASE

public const uint ROW_BASE = 160

Field Value

uint

STRING_OVERHEAD

public const uint STRING_OVERHEAD = 22

Field Value

uint

TIME_BOX

public const uint TIME_BOX = 24

Field Value

uint

VERSION_BOX

public const uint VERSION_BOX = 24

Field Value

uint

Methods

BlobBoxSize(int)

Calculate size of a ByteBox containing a byte array of given length

public static uint BlobBoxSize(int length)

Parameters

length int

Returns

uint

StringBoxSize(int)

Calculate size of a StringBox or TextBox containing a string of given length

public static uint StringBoxSize(int length)

Parameters

length int

Returns

uint