15 lines
381 B
C++
15 lines
381 B
C++
#pragma once
|
|
|
|
#include <glacier/buffer/byte_buffer.h>
|
|
#include <glacier/status/status.h>
|
|
|
|
namespace yunq {
|
|
|
|
[[nodiscard]] glcr::Status CheckHeader(const glcr::ByteBuffer& buffer,
|
|
uint64_t offset);
|
|
|
|
void WriteHeader(glcr::ByteBuffer& bytes, uint64_t offset, uint32_t core_size,
|
|
uint32_t extension_size);
|
|
|
|
} // namespace yunq
|