stream.readInt16: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
m (Mex moved page Stream.readInt16 to stream.readInt16)
 
No edit summary
 
Line 1: Line 1:
{{ScriptItem
{{ScriptItem2
|endpoint = shared
|name = readInt16
|side = shared
|type = method
|type = method
|name = readInt16
|class = Stream
|class = Stream
|parameters = void
|games = iii vc sa iv
|returnTypes = int
|desc = read 16 bits (2 bytes) with signed integer interpretation from a stream
|usage = read 16 bits (2 bytes) with signed integer interpretation from a stream
|return = int a number between -32,768 and 32,767 inclusive both ends
|returnInfo = a number between -32,768 and 32,767 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.readInt16(void)

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

Parameters

void This method doesn't take any parameters.

Return

int A number between -32,768 and 32,767 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.