You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been reviewing the library/module code and the examples and I have some doubts. I'm working on a project that I use bytes instead of strings in order to transmit data. Based on the function def write(self, data, length: int = 0) , the function only accepts lists and tuples. Are there any other function in the library/module that allow to send bytes? If not, how do you think this would be possible to use with this library?
Thank you!
The text was updated successfully, but these errors were encountered:
For transmitting and receiving bytes data type you can use put and get method respectively. Those methods accept bytes and bytearray variable as input.
Hello,
I have been reviewing the library/module code and the examples and I have some doubts. I'm working on a project that I use bytes instead of strings in order to transmit data. Based on the function
def write(self, data, length: int = 0)
, the function only accepts lists and tuples. Are there any other function in the library/module that allow to send bytes? If not, how do you think this would be possible to use with this library?Thank you!
The text was updated successfully, but these errors were encountered: