mirror of
https://github.com/Almamu/linux-wallpaperengine.git
synced 2025-09-14 13:56:48 +08:00
13 lines
237 B
C++
13 lines
237 B
C++
#pragma once
|
|
|
|
#include <iostream>
|
|
|
|
namespace WallpaperEngine::Data::Utils {
|
|
struct MemoryStream : std::streambuf
|
|
{
|
|
MemoryStream (char* p, size_t size)
|
|
{
|
|
this->setg(p, p, p + size); // set start end end pointers
|
|
}
|
|
};
|
|
} |