rm decode