src/Types/Uint32.php
<?php
declare(strict_types=1);
namespace Denpa\Levin\Types;
class Uint32 extends Type implements BoostSerializable
{
/**
* @return string
*/
protected function getTypeCode(): string
{
return $this->isBigEndian() ? 'N' : 'V';
}
/**
* @return \Denpa\Levin\Types\Uint8
*/
public function getSerializeType(): Uint8
{
return new Uint8(self::SERIALIZE_TYPE_UINT32);
}
}