This version of Unity is unsupported.
Method group is Obsolete

NetworkWriter.WriteBytesAndSize

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

Declaration

public void WriteBytesAndSize(byte[] buffer, int count);

Parameters

buffer Array of bytes to write.
count Number of bytes from the array to write.

Description

This writes a 16-bit count and an array of bytes of that length to the stream.