Skip to content

RawData.ushort

JoeStrout edited this page Apr 29, 2026 · 2 revisions

get unsigned 16-bit integer (0-65535) at the given byte offset

Parameters

Parameter Default Value Note
offset 0

Return value

Condition Return Value
(always) number

Notes

Example

import "RawData"
data = new RawData
data.resize 4
data.setUshort 0, 60000
print data.ushort(0)   // 60000

Clone this wiki locally