Converting decode_data to public and static
Converting decode_data to public and static

Dispatcher call will be useful for just extracting class this way and will be
more reuseable.

toshiroyamada/tnyosc