CX Framework
Cross-platform C utility framework
Loading...
Searching...
No Matches
serbinary.h
Go to the documentation of this file.
1
3
4#pragma once
5
9
10CX_C_BEGIN
11
51
53#define SER_BIN_MAGIC "CXSB"
54
56#define SER_BIN_VERSION 1
57
64
75_Ret_notnull_ SerWriter* serBinaryWriterCreate(_Inout_ StreamBuffer* sb, flags_t flags);
76
101_Ret_notnull_ SerReader* serBinaryReaderCreate(_Inout_ StreamBuffer* sb, flags_t flags);
102
104
105CX_C_END
SerBinHeaderFlagsEnum
Header flag bits, recording how the body was encoded.
Definition serbinary.h:59
SerReader * serBinaryReaderCreate(StreamBuffer *sb, flags_t flags)
SerWriter * serBinaryWriterCreate(StreamBuffer *sb, flags_t flags)
@ SER_BinHdr_Refs
document may contain reference nodes
Definition serbinary.h:62
@ SER_BinHdr_SelfDescribing
values carry tag bytes
Definition serbinary.h:60
@ SER_BinHdr_StringDedup
string values intern into the dictionary
Definition serbinary.h:61
The read half of the serialization backend interface.
The write half of the serialization backend interface.
Core stream buffer implementation for efficient data streaming.