public function testBinaryStreamsShouldAllowWritingUtf8() { $string = str_repeat('赵勇', 1000); $stream = new BinaryStream(''); $stream->writeLongUtf($string); $test = $stream->getStream(); $this->assertContains($string, $test); }
/** * Constructor * */ public function __construct() { parent::__construct(''); }