LiteNetLib.Utils.NetDataReader.GetBytes C# (CSharp) Метод

GetBytes() публичный Метод

public GetBytes ( ) : byte[]
Результат byte[]
        public byte[] GetBytes()
        {
            byte[] outgoingData = new byte[AvailableBytes];
            Buffer.BlockCopy(_data, _position, outgoingData, 0, AvailableBytes);
            _position = _data.Length;
            return outgoingData;
        }

Same methods

NetDataReader::GetBytes ( byte destination ) : void
NetDataReader::GetBytes ( byte destination, int lenght ) : void