public WriteBytesAtOffset ( byte buffer, ushort targetOffset, ushort count ) : void | ||
buffer | byte | |
targetOffset | ushort | |
count | ushort | |
Результат | void |
public void Write(byte[] buffer, int offset, int count) { if (count > UInt16.MaxValue) { if (LogFilter.logError) { Debug.LogError("NetworkWriter Write: buffer is too large (" + count + ") bytes. The maximum buffer size is 64K bytes."); } return; } m_Buffer.WriteBytesAtOffset(buffer, (ushort)offset, (ushort)count); }
public void Write(byte[] buffer, int offset, int count) { m_Buffer.WriteBytesAtOffset(buffer, (ushort)offset, (ushort)count); }