Version: 2018.3 (switch to 2019.1)
LanguageEnglish
  • C#
Method group is Obsolete

NetworkWriter.ToArray

Obsolete public byte[] ToArray();

Returns

byte[] Copy of data used by the writer.

Description

Returns a copy of internal array of bytes the writer is using, it copies only the bytes used.

See NetworkWriting for a code example.

Did you find this page useful? Please give it a rating: