Server.Connector.Combine C# (CSharp) Méthode

Combine() private méthode

private Combine ( byte first, byte second ) : byte[]
first byte
second byte
Résultat 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;
        }