This version of Unity is unsupported.
Method group is Obsolete

NetworkReader.ReadBytes

Obsolete The high level API classes are deprecated and will be removed in the future.

Declaration

public byte[] ReadBytes(int count);

Parameters

count Number of bytes to read.

Returns

byte[] Bytes read. (this is a copy).

Description

Reads a number of bytes from the stream.

See NetworkReader for a code example.