mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
sign data for PeerTest msg 3 and 5
This commit is contained in:
parent
3a5295dbb9
commit
ee20d5b804
2 changed files with 22 additions and 6 deletions
|
@ -33,6 +33,12 @@ namespace transport
|
|||
{
|
||||
m_Stream << other.m_Stream.rdbuf ();
|
||||
}
|
||||
|
||||
void Reset ()
|
||||
{
|
||||
m_Stream.str("");
|
||||
}
|
||||
|
||||
void Insert (const uint8_t * buf, size_t len)
|
||||
{
|
||||
m_Stream.write ((char *)buf, len);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue