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