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.141 -- Release Build+8fc1477299d57116e2a4f3cb8dfe059f814b239b
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