Rework TIC processing and added test cases

This commit is contained in:
2023-11-22 10:40:15 +11:00
parent 5b24ff944f
commit 9fd8264c3f
30 changed files with 847 additions and 403 deletions

View File

@@ -26,7 +26,7 @@ final class Tic extends Send
$this->ftype = ((($type&0xff)<<8)|self::IS_TIC);
$this->readpos = 0;
$this->tic = FTNTic::generate($ao,$file);
$this->tic = (string)(new FTNTic($file))->to($ao);
}
public function __get($key) {