CX Framework
Cross-platform C utility framework
Loading...
Searching...
No Matches
sbbuffer.h
Go to the documentation of this file.
1
33
34#pragma once
35
36#include <cx/buffer/buffer.h>
38
39CX_C_BEGIN
40
65bool sbufBufIn(_Inout_ StreamBuffer* sb, _In_ Buffer buf, bool own);
66
89_Check_return_ bool sbufBufPRegisterPull(_Inout_ StreamBuffer* sb, _In_ Buffer buf, bool own);
90
107bool sbufBufOut(_Inout_ StreamBuffer* sb, _Inout_ Buffer* bufout);
108
121_Check_return_ bool sbufBufCRegisterPush(_Inout_ StreamBuffer* sb, _Inout_ Buffer* bufout);
122
138_Check_return_ _Ret_opt_valid_ StreamBuffer* sbufBufCreatePush(_Inout_ Buffer* bufout);
139
141
142CX_C_END
Simple buffer management.
bool sbufBufCRegisterPush(StreamBuffer *sb, Buffer *bufout)
bool sbufBufOut(StreamBuffer *sb, Buffer *bufout)
bool sbufBufIn(StreamBuffer *sb, Buffer buf, bool own)
StreamBuffer * sbufBufCreatePush(Buffer *bufout)
bool sbufBufPRegisterPull(StreamBuffer *sb, Buffer buf, bool own)
Core stream buffer implementation for efficient data streaming.