source.decode implementation