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