mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-27 16:39:29 -05:00
added hability to print in the serialization process
This commit is contained in:
parent
059dfcff47
commit
f7e396856e
@ -35,9 +35,13 @@ class RsSerializer: public RsSerialType
|
|||||||
return NULL ;
|
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) ;
|
RsItem *deserialise(const uint8_t *data,uint32_t size) ;
|
||||||
bool serialise(RsItem *item,uint8_t *const data,uint32_t size) ;
|
bool serialise(RsItem *item,uint8_t *const data,uint32_t size) ;
|
||||||
uint32_t size(RsItem *item) ;
|
uint32_t size(RsItem *item) ;
|
||||||
|
void print(RsItem *item) ;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user