git-svn-id: svn://db.shs.com.ru/pip@833 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5

This commit is contained in:
2019-07-24 07:38:13 +00:00
parent 3c56608ca7
commit 768902acd0
2 changed files with 7 additions and 1 deletions

View File

@@ -5,5 +5,11 @@ int main(int argc, char * argv[]) {
x[3] << 5; x[3] << 5;
piCout << x; piCout << x;
x.remove(3); x.remove(3);
PIString s;
s = "gafaffaf";
piCout << s;
piCout << s;
s = "dd";
piCout << s;
return 0; return 0;
} }

View File

@@ -83,7 +83,7 @@ public:
}; };
//! Return resized byte array //! Return resized byte array
PIByteArray resized(int new_size) const {PIByteArray ret; ret.resize(new_size); memcpy(ret.data(), data(), new_size); return ret;} PIByteArray resized(uint new_size) const {PIByteArray ret(new_size); memcpy(ret.data(), data(), new_size); return ret;}
//! Convert data to Base 64 and return this byte array //! Convert data to Base 64 and return this byte array
PIByteArray & convertToBase64(); PIByteArray & convertToBase64();