Removed years-old leftovers from old PocketMine

This commit is contained in:
Dylan K. Taylor 2017-02-13 14:41:30 +00:00
parent 903534572d
commit 01a07a0b09

View File

@ -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));
}