for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace PBurggraf\CRC\CRC16;
/**
* @author Philip Burggraf <[email protected]>
*
* @see DArc
* @see EPC
* @see EPCC1G2
* @see ICode
*/
class Genibus extends AbstractCRC16
{
public function __construct()
$this->poly = 0x1021;
$this->init = 0xFFFF;
$this->reverseIn = false;
$this->reverseOut = false;
$this->xorOut = 0xFFFF;
}