This is an old revision of the document!
Read string data until a stop character is encountered.
from cubloc import GetStr2 GetStr2(channel: int, byteLength: int, stopChar: int)
Returns decoded string data up to byteLength bytes. If stopChar is found, it is included in the returned string.
from cubloc import GetStr2 # Example usage result = GetStr2(0, 1, 10) print(result)