Store a short value in this buffer at given byte position. If index is above current length then unused bytes are set to 0, value is appended at specified position and length is increased.

Namespace: BasicCard
Assembly: BasicCard (in BasicCard.dll) Version: 2.5.2.0 (2.5.2.0)

Syntax

C#
public void SetShort(
	int byteIndex,
	short value
)
Visual Basic
Public Sub SetShort ( 
	byteIndex As Integer,
	value As Short
)
Visual C++
public:
void SetShort(
	int byteIndex, 
	short value
)
F#
member SetShort : 
        byteIndex : int * 
        value : int16 -> unit 

Parameters

byteIndex
Type: System..::..Int32
Byte position for storing.
value
Type: System..::..Int16
Value to store.

Exceptions

ExceptionCondition
System..::..IndexOutOfRangeExceptionIf capacity is exceeded.

See Also