stream.readBytes

From GTA Connected
Jump to navigation Jump to search

Method Server and Client All Games Online and Offline

Server 1.0.0, Client 1.0.0

string stream.readBytes(int byteCount)

Description

The stream.readBytes method is used to read an amount of bytes of raw data from a stream.

Parameters

Type Name Presence Default Value Description
int
byteCount
required n/a The amount of bytes to read.

Returns

Success Returns

Type Description
string
A string containing the data read from the stream.

Failure Returns

Type Value
null
n/a

Types

This method can only be used on type:

Stream

Notes

  • Data can utilize full octet range.

Examples

There aren't any examples for this method.

Compatibility

There isn't any compatibility information for this method.