mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Add getRaw for vector and addZeros to Serializer.
This commit is contained in:
@@ -36,6 +36,7 @@ class Serializer
|
||||
int addRaw(const std::vector<unsigned char> &vector);
|
||||
int addRaw(const void *ptr, int len);
|
||||
int addRaw(const Serializer& s);
|
||||
int addZeros(size_t uBytes);
|
||||
|
||||
int addVL(const std::vector<unsigned char> &vector);
|
||||
int addVL(const void *ptr, int len);
|
||||
@@ -136,6 +137,8 @@ public:
|
||||
uint160 get160();
|
||||
uint256 get256();
|
||||
|
||||
std::vector<unsigned char> getRaw(int iLength);
|
||||
|
||||
std::vector<unsigned char> getVL();
|
||||
std::vector<TaggedListItem> getTaggedList();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user