Adjust function interface and add void function for further coworking, adjust test accordingly
Merge pull request #587 from sijchen/me_merge83

[Encoder ME] Adjust function interface