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.173 -- Release Build+298e1c238b074757f82f41812034645402a162ed
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