23 use GetTypeIdFromConstTrait;
25 public const ID = DynamicValueType::BOOL;
27 public function __construct(
31 protected static function readValue(ByteBufferReader $in) :
self{
32 return new self(CommonTypes::getBool($in));
35 protected function writeValue(ByteBufferWriter $out) :
void{
36 CommonTypes::putBool($out, $this->value);