mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Refactor Serializer and SerializerIterator interfaces:
* Remove unused members * SerialIter holds only a pointer and offset now * Use free functions for some Serializer members * Use SerialIter in some places instead of Serializer
This commit is contained in:
committed by
Nik Bougalis
parent
a691632995
commit
bb4127a6fb
@@ -109,7 +109,7 @@ public:
|
||||
private:
|
||||
static
|
||||
std::unique_ptr<STAmount>
|
||||
construct (SerializerIterator&, SField::ref name);
|
||||
construct (SerialIter&, SField::ref name);
|
||||
|
||||
void
|
||||
setSNValue (std::int64_t);
|
||||
@@ -122,14 +122,14 @@ public:
|
||||
static
|
||||
std::unique_ptr <STBase>
|
||||
deserialize (
|
||||
SerializerIterator& sit, SField::ref name)
|
||||
SerialIter& sit, SField::ref name)
|
||||
{
|
||||
return construct (sit, name);
|
||||
}
|
||||
|
||||
static
|
||||
STAmount
|
||||
deserialize (SerializerIterator&);
|
||||
deserialize (SerialIter&);
|
||||
|
||||
//--------------------------------------------------------------------------
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user