Gemstone Common Library
Show/Hide TOC

# Encoding7BitMeasureUInt32(Byte*, Int32) Method

Gets the number of bytes for the supplied value in the stream.

## Definition

Namespace: Gemstone
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.180 -- Release Build+914ca9e6d1cce46b614eb7013eba0303271cf6d8
C#
View Source Request Example

    public static int MeasureUInt32(
    	byte* stream,
    	int position
    )

VB
View Source Request Example

    Visual Basic does not support APIs that consume or return unsafe types.

C++
View Source Request Example

    public:
    static int MeasureUInt32(
    	unsigned char* stream,
    	int position
    )

JavaScript
View Source Request Example

    JavaScript does not support APIs that consume or return unsafe types.

#### Parameters

stream Byte*
  Source stream.
position Int32
  Reference position in stream. Position will be updated after reading.

#### Return Value

Int32
Number of bytes for the supplied value in the stream.

## See Also

#### Reference

Encoding7Bit Class
MeasureUInt32 Overload
Gemstone Namespace