Made non-filling version of ByteArray::Resize

Former-commit-id: 0fec6b5749a786fc1999b9fc718a481d47c52895
This commit is contained in:
Lynix
2013-08-01 23:14:49 +02:00
parent 8f9771ab8b
commit 29ee943871
2 changed files with 58 additions and 2 deletions

View File

@@ -50,8 +50,10 @@ class NAZARA_API NzByteArray : public NzHashable
void Reserve(unsigned int bufferSize);
NzByteArray& Resize(int size, nzUInt8 byte = 0);
NzByteArray Resized(int size, nzUInt8 byte = 0) const;
NzByteArray& Resize(int size);
NzByteArray& Resize(int size, nzUInt8 byte);
NzByteArray Resized(int size) const;
NzByteArray Resized(int size, nzUInt8 byte) const;
NzByteArray SubArray(int startPos, int endPos = -1) const;