![]() |
das2C
das core C utilities (v3)
|
Reading and writing array data to buffers. More...
#include <das2/codec.h>
Public Member Functions | |
#define | DasCodec_isValid(pCd) (((pCd)->uProc & DASENC_VALID)==(DASENC_VALID)) |
Has the memory for this encoder been initialized? | |
DAS_API DasErrCode | DasCodec_init (DasCodec *pThis, DasAry *pAry, const char *sSemantic, const char *sEncType, int16_t uSzEach, ubyte cSep, das_units epoch) |
Initialize a serial buffer decoder/encoder. More... | |
DAS_API int | DasCodec_decode (DasCodec *pThis, const ubyte *pBuf, int nBufLen, int nExpect, int *pValsRead) |
Read values from a simple buffer into an array. More... | |
DAS_API void | DasCodec_deInit (DasCodec *pThis) |
Release the reference count on the array given to this encoder/decoder. | |
Reading and writing array data to buffers.