Remove to_bytes() methods

This commit is contained in:
Deon George
2020-06-24 22:46:20 +10:00
parent 9936e839a4
commit fc914b727d
6 changed files with 8 additions and 20 deletions

View File

@@ -198,17 +198,6 @@ class Message implements \IteratorAggregate,\ArrayAccess
return $final_sigs;
}
public function to_bytes(): string
{
$bytes = '';
foreach ($this as $p) {
$bytes .= (string)$p;
}
return $bytes;
}
/**
* Function to extract verified signatures
*