Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

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

NetworkWriter.WriteBytesAndSize

Switch to Manual
public function WriteBytesAndSize(buffer: byte[], count: int): void;

Parameters

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

Description

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