Implement simple decoder for framework testing