Пример #1
0
        public byte[] EncryptBuffer(BufferStream buffer)
        {
            if (isCryptEnabled)
            {
                return(crypto.EncryptBuffer(buffer.Memory));
            }

            return(buffer.Memory);
        }