#pragma once std::vector unzip(const void* src, usz size); template inline std::vector unzip(const T& src) { return unzip(src.data(), src.size()); } bool unzip(const void* src, usz size, fs::file& out); template inline bool unzip(const std::vector& src, fs::file& out) { return unzip(src.data(), src.size(), out); } bool zip(const void* src, usz size, fs::file& out, bool multi_thread_it = false); template inline bool zip(const T& src, fs::file& out) { return zip(src.data(), src.size(), out); }