decoder: inline one function