ISISComputingGroup / lewis-ess

Let's write intricate simulators!
GNU General Public License v3.0
21 stars 19 forks source link

Add ability to send bytes to lewis #291

Closed John-Holt-Tessella closed 3 years ago

John-Holt-Tessella commented 3 years ago

When the stream interface is sent a byte stream in tried to encode it into a string which does not work. Instead we only encode when the input type is a string.

DominicOram commented 3 years ago

@mattclarke are you happy for me to merge this? It maintains backwards compatibility

mattclarke commented 3 years ago

I was planning to take a look this afternoon, but now I have seen how short it is I'll do it now... ... ... Done!

DominicOram commented 3 years ago

Thanks @mattclarke :) Hope all is well with you!