added hability to print in the serialization process

This commit is contained in:
csoler 2017-04-04 14:01:33 +02:00
parent 059dfcff47
commit f7e396856e

View File

@ -35,9 +35,13 @@ class RsSerializer: public RsSerialType
return NULL ;
}
// The following functions *should not* be overloaded.
// They are kept public in order to allow them to be called if needed.
RsItem *deserialise(const uint8_t *data,uint32_t size) ;
bool serialise(RsItem *item,uint8_t *const data,uint32_t size) ;
uint32_t size(RsItem *item) ;
void print(RsItem *item) ;
};