Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

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

NetworkWriter.WriteBytesAndSize

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 a array of bytes of that length to the stream.