System.ArgumentException: Source array was not long enough. Check the source index, length, and the array's lower bounds.
Parameter name: sourceArray
at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length, Boolean reliable)
at System.Array.Copy(Array sourceArray, Int32 sourceIndex, Array destinationArray, Int32 destinationIndex, Int32 length)
at SGF.Network.KCP.KCP.Send(Byte[] buffer, Int32 bufferSize) in E:\gitvs\KcpServer\KcpServer\KcpServer\Network\KCP\kcp.cs:line 353
3条答案
按热度按时间ltqd579y1#
我是这样序列化的
qeeaahzv2#
.net core环境下
vktxenjb3#
你该去 kcp 的.net项目那里提bug啊