Exemple #1
0
        public ulong RegRead(int registerId)
        {
            var err = UcNative.UcRegRead(Handle, registerId, out var result);

            if (err != UcErr.UC_ERR_OK)
            {
                throw new UcException(err);
            }

            return(result);
        }