134_Success_(
return) _Check_return_
bool
135lparseLine(_Inout_ _On_failure_(_Post_invalid_) StreamBuffer* sb, _Inout_
string* out);
158typedef bool (*
lparseLineCB)(_In_opt_ strref line, _Pre_opt_valid_
void* ctx);
192 _In_opt_ sbufCleanupCB pcleanup, _Inout_opt_
void* ctx, uint32 flags);
LINEPARSER_FLAGS_ENUM
Line parser configuration flags.
@ LPARSE_LF
Expect LF (Unix-style) line endings.
@ LPARSE_CRLF
Expect CR+LF (Windows-style) line endings.
@ LPARSE_IncludeEOL
Include the EOL markers in the returned line (by default they are stripped)
@ LPARSE_Auto
Auto-detect line ending style from first line found.
@ LPARSE_Mixed
Accept mixed CR+LF and LF line endings.
@ LPARSE_EOL_COUNT
Number of EOL modes (internal use)
@ LPARSE_EOL_MASK
Mask for extracting EOL mode.
bool lparseLine(StreamBuffer *sb, string *out)
bool lparseRegisterPull(StreamBuffer *sb, uint32 flags)
bool(* lparseLineCB)(strref line, void *ctx)
bool lparseRegisterPush(StreamBuffer *sb, lparseLineCB pline, sbufCleanupCB pcleanup, void *ctx, uint32 flags)
Core stream buffer implementation for efficient data streaming.