From 01a07a0b090ce72ba38d4de8c6641a93910cc748 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Mon, 13 Feb 2017 14:41:30 +0000 Subject: [PATCH] Removed years-old leftovers from old PocketMine --- src/pocketmine/utils/BinaryStream.php | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/pocketmine/utils/BinaryStream.php b/src/pocketmine/utils/BinaryStream.php index 6d4ae6bbf..506a162f0 100644 --- a/src/pocketmine/utils/BinaryStream.php +++ b/src/pocketmine/utils/BinaryStream.php @@ -176,22 +176,6 @@ class BinaryStream extends \stdClass{ $this->buffer .= chr($v); } - public function getDataArray($len = 10){ - $data = []; - for($i = 1; $i <= $len and !$this->feof(); ++$i){ - $data[] = $this->get($this->getTriad()); - } - - return $data; - } - - public function putDataArray(array $data = []){ - foreach($data as $v){ - $this->putTriad(strlen($v)); - $this->put($v); - } - } - public function getUUID(){ return UUID::fromBinary($this->get(16)); }