[ox] Cleanup

This commit is contained in:
2024-04-18 23:32:54 -05:00
parent 3b8d13dce3
commit 922323833c
15 changed files with 103 additions and 99 deletions

View File

@@ -64,7 +64,7 @@ Result<ClawHeader> readClawHeader(const ox::Buffer &buff) noexcept {
Result<Buffer> stripClawHeader(const char *buff, std::size_t buffLen) noexcept {
oxRequire(header, readClawHeader(buff, buffLen));
Buffer out(header.dataSize);
ox_memcpy(out.data(), header.data, out.size());
ox::listcpy(out.data(), header.data, out.size());
return out;
}