LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

This version of Unity is unsupported.

NetworkReader.ReadString

public string ReadString();

Returns

string Value read.

Description

Reads a string from the stream. (max of 32k bytes).

See NetworkReader for a code example.