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.160 -- Release Build+19b74ac03cedad8575bb1ceb00051318b7421d0d
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