Low-level serializer functions for new type/name field.

This commit is contained in:
JoelKatz
2012-09-24 13:19:28 -07:00
parent a4070de73e
commit 8f88575b8e
2 changed files with 67 additions and 0 deletions

View File

@@ -67,6 +67,9 @@ public:
bool getTaggedList(std::list<TaggedListItem>&, int offset, int& length) const;
bool getTaggedList(std::vector<TaggedListItem>&, int offset, int& length) const;
bool getFieldID(int& type, int& name, int offset) const;
int addFieldID(int type, int name);
// normal hash functions
uint160 getRIPEMD160(int size=-1) const;
uint256 getSHA256(int size=-1) const;
@@ -156,6 +159,8 @@ public:
uint160 get160();
uint256 get256();
void getFieldID(int& type, int& field);
std::vector<unsigned char> getRaw(int iLength);
std::vector<unsigned char> getVL();