Gemstone Common Library
Show/Hide TOC

# Encoding7BitWriteInt15(Byte, Int32, Int16) Method

Writes the 7-bit encoded value to the provided 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 void WriteInt15(
    	byte[] stream,
    	ref int position,
    	short value
    )

VB
View Source Request Example

    Public Shared Sub WriteInt15 (
    	stream As Byte(),
    	ByRef position As Integer,
    	value As Short
    )

C++
View Source Request Example

    public:
    static void WriteInt15(
    	array<unsigned char>^ stream,
    	int% position,
    	short value
    )

JavaScript
View Source Request Example

    Gemstone.Encoding7Bit.WriteInt15 = function(stream, position, value);

#### Parameters

stream Byte
  Source stream.
position Int32
  Reference position in stream. This field will be updated when the function returns.
value Int16
  Value to write.

## See Also

#### Reference

Encoding7Bit Class
WriteInt15 Overload
Gemstone Namespace