1
0
mirror of https://github.com/Rogiel/php-mpq synced 2025-12-06 00:13:04 +00:00

Update README.md

This commit is contained in:
WebReborn
2021-08-03 21:50:58 +03:00
committed by GitHub
parent b01a84d46b
commit 76cb5fb090

View File

@@ -13,6 +13,7 @@ The recommended way of installing this library is using Composer.
use Rogiel\MPQ\MPQFile; use Rogiel\MPQ\MPQFile;
$file = MPQFile::parseFile(__DIR__.'/test.SC2Replay'); $file = MPQFile::parseFile(__DIR__.'/test.SC2Replay');
$file->parse();
$stream = $file->openStream('replay.details'); $stream = $file->openStream('replay.details');
while($data = $stream->readBytes(100)) { while($data = $stream->readBytes(100)) {
echo $data; echo $data;