git-svn-id: svn://db.shs.com.ru/libs@113 a8b55f48-bf90-11e4-a774-851b48703e85

This commit is contained in:
2016-08-10 11:13:43 +00:00
parent f24b7172b7
commit 8052406e54
5 changed files with 66 additions and 17 deletions

View File

@@ -151,12 +151,14 @@ void CDCore::K_Send() {
PIString s;
PIIOString ios(&s);
k_write(&ios);
ios.close();
// ios.close();
piCout << s;
//PIByteArray ba = PIByteArray::fromString(s);
PIFile pf("k.txt", PIIODevice::ReadWrite);
pf.write(s.toUTF8());
pf.resize(0);
pf.write(s.dataAscii(), s.lengthAscii());
//k_write(&pf);
piCout << pf.readLine();
//piCout << pf.readLine();
}