Archived Forum Post

Index of archived forum posts

Question:

CkByteData.getRange() in Python return unusable object

Sep 22 '13 at 07:29

CkByteData.getRange() return Swig object which is different from bytearray or str. I want to only extract some byte from a large CkByteData object, getRangeStr is not working for it returning NULL-TERMINATED string. Only way is to call getByte() to get string and use [] operator?