Exemplo n.º 1
0
 /**
  * @param MathAdapterInterface $math
  * @param int                  $byteOrder
  */
 public function __construct(MathAdapterInterface $math, $byteOrder = ByteOrder::BE)
 {
     parent::__construct($math, $byteOrder);
 }
Exemplo n.º 2
0
 /**
  * @param VarInt $varInt
  */
 public function __construct(VarInt $varInt)
 {
     $this->varint = $varInt;
     parent::__construct($varInt->getMath(), $varInt->getByteOrder());
 }
Exemplo n.º 3
0
 /**
  * @param MathAdapterInterface $math
  * @param int|string           $length
  * @param int|string           $byteOrder
  */
 public function __construct(MathAdapterInterface $math, $length, $byteOrder = ByteOrder::BE)
 {
     $this->length = $length;
     parent::__construct($math, $byteOrder);
 }