阅读背景:

如何将python的字节数组转换为QByteArray?

来源:互联网 

I have a python ‘s byte array b=b'hello' and I want to use it as the parameter of QtextStream to create a QtextStream object ,but QtextStream accept Qt’s byte array rather than Python’s .I wonder is there anyway to to convert python ‘s byte array to QByteArray ?I have a python ‘s byte array b=b'hello' and I




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: