Puts a two-byte number into the buffer at the specified index

Namespace:  Kaazing.HTML5
Assembly:  Kaazing.Gateway (in Kaazing.Gateway.dll)

Syntax

Visual Basic
Public Function PutShortAt ( _
	position As Integer, _
	v As Short _
) As ByteBuffer
C#
public ByteBuffer PutShortAt(
	int position,
	short v
)
Visual C++
public:
ByteBuffer^ PutShortAt(
	int position, 
	short v
)

Parameters

position
Type: System..::..Int32
The two-byte number
v
Type: System..::..Int16
The index

Return Value

The buffer

See Also