stream.readInt8: Difference between revisions

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

The stream.readInt8 method is used to read 8 bits (1 byte) with signed integer interpretation from a stream.

Parameters

void This method doesn't take any parameters.

Return

int A number between -128 and 127 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.