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.160 -- Release Build+19b74ac03cedad8575bb1ceb00051318b7421d0d
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