mirror of
https://github.com/MirrorNetworking/Mirror.git
synced 2024-11-18 11:00:32 +00:00
parent
02f4eebfce
commit
c85d0df533
@ -60,9 +60,9 @@ public void Disconnect()
|
||||
}
|
||||
|
||||
// send the data or throw exception
|
||||
public void Send(byte[] data)
|
||||
public void Send(ArraySegment<byte> segment)
|
||||
{
|
||||
SocketSend(m_NativeRef, data, data.Length);
|
||||
SocketSend(m_NativeRef, segment.Array, segment.Count);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user