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

NetworkConnection.SendBytes

public bool SendBytes(byte[] bytes, int numBytes, int channelId);

Parameters

bytesThe array of data to be sent.
numBytesThe number of bytes in the array to be sent.
channelIdThe transport channel to send on.

Returns

bool Success if data was sent.

Description

This sends an array of bytes on the connection.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答