Gemstone Common Library
Show/Hide TOC

# Encoding7BitReadInt15(FuncByte) Method

Reads a 7-bit encoded short.

## Definition

Namespace: Gemstone
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.171 -- Release Build+4f4d518944b843c059d40b523747cd410a7c216d
C#
View Source Request Example

    public static short ReadInt15(
    	Func<byte> stream
    )

VB
View Source Request Example

    Public Shared Function ReadInt15 (
    	stream As Func(Of Byte)
    ) As Short

C++
View Source Request Example

    public:
    static short ReadInt15(
    	Func<unsigned char>^ stream
    )

JavaScript
View Source Request Example

    Gemstone.Encoding7Bit.ReadInt15 = function(stream);

#### Parameters

stream Func Byte
  Function used to read next byte.

#### Return Value

Int16
7-bit encoded short.

## See Also

#### Reference

Encoding7Bit Class
ReadInt15 Overload
Gemstone Namespace