21 #ifndef SBG_SPLIT_BUFFER_H 22 #define SBG_SPLIT_BUFFER_H 116 assert(pSplitBuffer);
135 assert(pSplitBuffer);
167 assert(pSplitBuffer);
201 assert(pSplitBuffer);
218 else if (subBufferIdx == (pSplitBuffer->
subBufferNbr-1) )
SBG_INLINE size_t sbgSplitBufferGetSubBufferNbr(const SbgSplitBuffer *pSplitBuffer)
struct _SbgSplitBuffer SbgSplitBuffer
SBG_INLINE size_t sbgSplitBufferGetSubBufferOffset(const SbgSplitBuffer *pSplitBuffer, size_t subBufferIdx)
SBG_INLINE size_t sbgSplitBufferGetSubBufferSize(const SbgSplitBuffer *pSplitBuffer, size_t subBufferIdx)
SBG_INLINE void * sbgSplitBufferGetSubBuffer(const SbgSplitBuffer *pSplitBuffer, size_t subBufferIdx)
SBG_INLINE void sbgSplitBufferInitForWrite(SbgSplitBuffer *pSplitBuffer, void *pBuffer, size_t bufferSize, size_t subBufferSize)
Main header file for SBG Systems common C library.
SBG_INLINE void sbgSplitBufferInitForRead(SbgSplitBuffer *pSplitBuffer, const void *pBuffer, size_t bufferSize, size_t subBufferSize)