PIMap new functions

PIByteArray checksum crc
some doc fixes
This commit is contained in:
Бычков Андрей
2022-08-04 20:20:08 +03:00
parent 54cc6c55b2
commit 170a713357
8 changed files with 436 additions and 81 deletions

View File

@@ -37,13 +37,7 @@ public:
T pop() {return PIVector<T>::take_back();}
T & top() {return PIVector<T>::back();}
const T & top() const {return PIVector<T>::back();}
PIVector<T> toVector() {
PIVector<T> v;
v.reserve(PIVector<T>::size());
for (uint i = 0; i < PIVector<T>::size(); ++i)
v.push_back(PIVector<T>::at(i));
return v;
}
PIVector<T> toVector() {return PIVector<T>(*this);}
};
#endif // PISTACK_H