Gemstone Common Library
Show/Hide TOC

# Encoding7BitGetSize(UInt32) Method

Gets the number of bytes required to write the provided value.

## Definition

Namespace: Gemstone
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.156 -- Release Build+59006cef9614396d8b79971beebc1091829bcfe4
C#
View Source Request Example

    public static int GetSize(
    	uint value
    )

VB
View Source Request Example

    Public Shared Function GetSize (
    	value As UInteger
    ) As Integer

C++
View Source Request Example

    public:
    static int GetSize(
    	unsigned int value
    )

JavaScript
View Source Request Example

    Gemstone.Encoding7Bit.GetSize = function(value);

#### Parameters

value UInt32
  Value to measure.

#### Return Value

Int32
Number of bytes required to write the provided value.

## See Also

#### Reference

Encoding7Bit Class
GetSize Overload
Gemstone Namespace