This is a local, hacked copy of the PHP-Serial class.  The same license applies.