webdav_client icon indicating copy to clipboard operation
webdav_client copied to clipboard

Always return OK when read

Open mostcute opened this issue 2 years ago • 0 comments

var res = client.read("syncdata.json");
   List<int> myList = await res;
   print("get cloud raw == $myList");
   var clouddata = String.fromCharCodes(myList);
   print("get cloud data == $clouddata  end");

result

I/flutter (10808): get cloud raw == [97, 97, 97, 97, 79, 75]
I/flutter (10808): get cloud data == aaaaOK  end

don't know why the result always apennd 79, 75 ("OK" in unicode)

mostcute avatar Jun 21 '23 03:06 mostcute