buf_to_string does not compile on Android
On Android c_char is unsigned. So in rust it is represented by u8.
So this means that all the data types from nng-sys will have [u8] buffers instead of [i8].
The buf_to_string function expects &[i8] and will fail to compile.
There need to be a separate buf_to_string implementation for the different char buffer types.