mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-04 12:49:28 -04:00
added hability to print in the serialization process
This commit is contained in:
parent
059dfcff47
commit
f7e396856e
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue