Removed by ref method call.

A by ref call on a method throws an error under strict settings. This fixes that problem.
Merge pull request #4 from lrezek/patch-2

Removed by ref method call in decode()