Update to 7-Zip Version 21.06

See https://sourceforge.net/p/sevenzip/discussion/45797/thread/b463f34259/
This commit is contained in:
Tino Reichardt
2022-08-07 09:41:55 +02:00
parent 3e0e78700e
commit e3067bf67b
43 changed files with 1394 additions and 315 deletions

View File

@@ -661,6 +661,12 @@ void AString::Add_UInt32(UInt32 v)
_len = (unsigned)(ConvertUInt32ToString(v, _chars + _len) - _chars);
}
void UString::Add_UInt64(UInt64 v)
{
Grow(20);
_len = (unsigned)(ConvertUInt64ToString(v, _chars + _len) - _chars);
}
void AString::SetFrom(const char *s, unsigned len) // no check
{
if (len > _limit)
@@ -1304,6 +1310,12 @@ void UString::Add_UInt32(UInt32 v)
_len = (unsigned)(ConvertUInt32ToString(v, _chars + _len) - _chars);
}
void AString::Add_UInt64(UInt64 v)
{
Grow(20);
_len = (unsigned)(ConvertUInt64ToString(v, _chars + _len) - _chars);
}
int UString::Find(const wchar_t *s, unsigned startIndex) const throw()
{