Skip to content

Commit

Permalink
Update Buffer.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick authored May 22, 2022
1 parent 1c84895 commit 5e99654
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/GameQ/Buffer.php
Original file line number Diff line number Diff line change
Expand Up @@ -519,7 +519,8 @@ private static function extendBinaryString($input, $length = 4, $littleEndian =
}
}

private static function isLittleEndian() {
private static function isLittleEndian()
{
$testint = 0x00FF;
$p = pack('S', $testint);
return $testint===current(unpack('v', $p));
Expand Down

0 comments on commit 5e99654

Please sign in to comment.