Added support for extra data, improved BinaryStream

This commit is contained in:
Shoghi Cervantes
2015-08-04 18:29:13 +02:00
parent 7fd053fb09
commit 9456e20770
11 changed files with 271 additions and 40 deletions

View File

@ -48,7 +48,7 @@ abstract class DataPacket extends BinaryStream{
abstract public function decode();
protected function reset(){
public function reset(){
$this->buffer = chr($this::NETWORK_ID);
$this->offset = 0;
}