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.181 -- Release Build+97279656b5a55675063a4190481e67c4f9809501
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