sign data for PeerTest msg 3 and 5

This commit is contained in:
orignal 2022-06-21 08:12:41 -04:00
parent 3a5295dbb9
commit ee20d5b804
2 changed files with 22 additions and 6 deletions

View file

@ -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);