Closed NotoriousRebel closed 4 years ago
This line looks strange.
local ms = sys.IO.MemoryStream( buffer = client:DownloadData(url) );
Thank you for the quick response, printing was just for debug purposes. I have it working now I removed the signatures and turned client:DownloadData(URL) into a variable :)
NeoLua Version: NeoLua 1.3.11 Example to reproduce:
Expception: Unable to cast object of type 'System.Byte[]' to type 'System.IConvertible'. StackTrace: -- internal --
I have tried removing the byte next to local ms, replacing it with System.Byte, replacing it with System.Byte[], adding the keyword new before sys.IO.MemoryStream... Not sure what is going wrong.