git-svn-id: svn://db.shs.com.ru/pip@833 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
6
main.cpp
6
main.cpp
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user