The interface accepts const void* as the input type, so there's no need to explicitly pointer cast the input data.