Server.Connector.Combine C# (CSharp) Method

Combine() private method

private Combine ( byte first, byte second ) : byte[]
first byte
second byte
return byte[]
        private byte[] Combine(byte[] first, byte[] second)
        {
            byte[] ret = new byte[first.Length + second.Length];
            Buffer.BlockCopy(first, 0, ret, 0, first.Length);
            Buffer.BlockCopy(second, 0, ret, first.Length, second.Length);
            return ret;
        }