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.153 -- Release Build+cfa0f66eec3b78014206cf98a152ef9e72791f21
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