flymzero / webdav_client

A dart WebDAV client library
https://pub.dev/packages/webdav_client
BSD 3-Clause "New" or "Revised" License
54 stars 34 forks source link

Always return OK when read #31

Open mostcute opened 1 year ago

mostcute commented 1 year ago
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)