stream.readUInt16: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
m (Mex moved page Stream.readUInt16 to stream.readUInt16)
 
No edit summary
 
Line 1: Line 1:
{{ScriptItem
{{ScriptItem2
|endpoint = shared
|name = readUInt16
|side = shared
|type = method
|type = method
|name = readUInt16
|class = Stream
|class = Stream
|parameters = void
|games = iii vc sa iv
|returnTypes = int
|desc = read 16 bits (2 bytes) with unsigned integer interpretation from a stream
|usage = read 16 bits (2 bytes) with unsigned integer interpretation from a stream
|return = int a number between 0 and 65,535 inclusive both ends
|returnInfo = a number between 0 and 65,535 inclusive both ends
|freturn = null n/a
|returnFail1 = null n/a
}}
}}

Latest revision as of 20:37, 19 November 2022

Method Server and Client icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline

Available since Server 1.0.0, Client 1.0.0

int stream.readUInt16(void)

The stream.readUInt16 method is used to read 16 bits (2 bytes) with unsigned integer interpretation from a stream.

Parameters

void This method doesn't take any parameters.

Return

int A number between 0 and 65,535 inclusive both ends.

Types

Shared Stream

Notes

There aren't any notes for this method.

Examples

There aren't any examples for this method.

Compatibility

There isn't any compatibility information for this method.