mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-20 04:14:27 -04:00
started converting rschatitems to new serialization
This commit is contained in:
parent
f7e396856e
commit
32ce9aea3a
5 changed files with 106 additions and 74 deletions
|
@ -59,10 +59,10 @@ uint32_t RsSerializer::size(RsItem *item)
|
|||
{
|
||||
SerializeContext ctx(NULL,0);
|
||||
|
||||
ctx.mSize = 8 ; // header size
|
||||
ctx.mOffset = 8 ; // header size
|
||||
item->serial_process(RsItem::SIZE_ESTIMATE, ctx) ;
|
||||
|
||||
return ctx.mSize ;
|
||||
return ctx.mOffset ;
|
||||
}
|
||||
|
||||
void RsSerializer::print(RsItem *item)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue