[*] oopsie of a regression. compression bytebuffers became linear after the hack for protocolstack interop

This commit is contained in:
Reece Wilson 2022-09-25 18:04:41 +01:00
parent f61d5c3b7a
commit 8ec993f4c0
4 changed files with 1 additions and 12 deletions

View File

@ -107,5 +107,4 @@ namespace Crypto
return 0xFF;
}
}
}

View File

@ -32,5 +32,4 @@ namespace Crypto
int PaddingToType(Aurora::Crypto::EPaddingType type);
int HashMethodToId(Aurora::Hashing::EHashType type);
}

View File

@ -13,7 +13,7 @@ namespace Aurora::Compression
{
struct BaseStream : ICompressionStream, protected IngestableReadBase
{
inline BaseStream(AuUInt32 bufferSize = 4096 * 4) : _outbufferOwned(bufferSize), uBufferSize_(bufferSize)
inline BaseStream(AuUInt32 bufferSize = 4096 * 4) : _outbufferOwned(bufferSize, true), uBufferSize_(bufferSize)
{
SetBuffer({});
}

View File

@ -1,9 +0,0 @@
/***
Copyright (C) 2021 J Reece Wilson (a/k/a "Reece"). All rights reserved.
File: Crypto.cpp
Date: 2021-6-12
Author: Reece
***/
#include <Source/RuntimeInternal.hpp>
#include "Crypto.hpp"