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.155 -- Release Build+a7d8ba87ff92af3282fc68a6fbfd37a854100b44
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