for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace BitWasp\Bitcoin;
abstract class Serializable implements SerializableInterface
{
/**
* @return string
*/
public function getHex(): string
return $this->getBuffer()->getHex();
}
public function getBinary(): string
return $this->getBuffer()->getBinary();
* @return int
public function getInt()
return $this->getBuffer()->getInt();
return $this->getBuffer()->getInt()
string
integer