Skip to content

RawData.setShort

JoeStrout edited this page Apr 29, 2026 · 2 revisions

set signed 16-bit integer at the given byte offset

Parameters

Parameter Default Value Note
offset 0
value 0

Return value

None.

Notes

Example

import "RawData"
data = new RawData
data.resize 4
data.setShort 0, -500
print data.short(0)   // -500

Clone this wiki locally