Closed a442509097 closed 1 year ago
ok, is bytes type.
temp = bytes("123", encoding='utf-8')
FBInk.fbink_print_ot(fbfd, temp, fbink_ot_cfg, fbink_cfg, ffi.NULL)
Context would have been helpful, as I have no idea where this code is from ;).
And, yes, it's a const char*
, which makes that a bytes
object on Python 3.
what does b mean and how to make it work?