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.164 -- Release Build+6bbd7ea5ff4ad8917f12d693358b77d083ee278e
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