This commit is contained in:
hakunamtu 2018-06-16 12:28:47 +00:00 committed by GitHub
commit a77d51ae30
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
10 changed files with 496 additions and 64 deletions

View file

@ -131,6 +131,7 @@ namespace data
RouterInfo (const std::string& fullPath);
RouterInfo (const RouterInfo& ) = default;
RouterInfo& operator=(const RouterInfo& ) = default;
RouterInfo (const uint8_t * buf, int len, bool);
RouterInfo (const uint8_t * buf, int len);
~RouterInfo ();
@ -180,6 +181,7 @@ namespace data
const uint8_t * GetBuffer () const { return m_Buffer; };
const uint8_t * LoadBuffer (); // load if necessary
const uint8_t * LoadBuffer(const uint8_t *buf, size_t len); //load from memory
int GetBufferLen () const { return m_BufferLen; };
void CreateBuffer (const PrivateKeys& privateKeys);