das2C
das core C utilities (v3)
Public Member Functions
DasCodec Struct Reference

Reading and writing array data to buffers. More...

#include <das2/codec.h>

Collaboration diagram for DasCodec:
Collaboration graph
[legend]

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.
 

Detailed Description

Reading and writing array data to buffers.


The documentation for this struct was generated from the following file: