Skip to content

Commit

Permalink
- delete staff
Browse files Browse the repository at this point in the history
- fix bug
  • Loading branch information
t3ran13 committed Oct 21, 2020
1 parent f27b78b commit 56e9000
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/t3ran13/ByteBuffer/ByteBuffer.php
Original file line number Diff line number Diff line change
Expand Up @@ -180,11 +180,6 @@ public function writeInt16BE($value, $offset = null) {
$this->insert($format, $value, $offset, $this->lengthMap->getLengthFor($format));
}

public function writeInt16BE2($value, $offset = null) {
$format = 's';
$this->insert($format, $value, $offset, $this->lengthMap->getLengthFor($format));
}

public function writeInt16LE($value, $offset = null) {
$format = 'v';
$this->checkForOverSize(0xffff, $value);
Expand Down Expand Up @@ -216,7 +211,7 @@ public function writeInt64LE($value, $offset = null) {
}

public function read($offset, $length) {
$format = $length;
$format = 'a' . $length;
return $this->extract($format, $offset, $length);
}

Expand Down

0 comments on commit 56e9000

Please sign in to comment.