[Yunq] Check identify byte and ensure users check status code.
This commit is contained in:
parent
7d9f9a7ae9
commit
3eba0bd9d8
21 changed files with 142 additions and 67 deletions
|
|
@ -5,7 +5,8 @@
|
|||
|
||||
namespace yunq {
|
||||
|
||||
[[nodiscard]] glcr::Status CheckHeader(const glcr::ByteBuffer& buffer);
|
||||
[[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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue