|
@@ -41,7 +41,7 @@
|
|
|
struct PacketReader : LoadFilter {
|
|
|
static const size_t CHUNK = 32 * 1024; ///< 32 KiB chunks of memory.
|
|
|
|
|
|
AutoFreeSmallVector<byte *, 16> blocks; ///< Buffer with blocks of allocated memory.
|
|
|
AutoFreeSmallVector<byte *> blocks; ///< Buffer with blocks of allocated memory.
|
|
|
byte *buf; ///< Buffer we're going to write to/read from.
|
|
|
byte *bufe; ///< End of the buffer we write to/read from.
|
|
|
byte **block; ///< The block we're reading from/writing to.
|