Definition at line 30 of file PacketSerializer.php.
◆ feof()
pocketmine\utils\BinaryStream::feof |
( |
| ) |
|
|
inherited |
Returns whether the offset has reached the end of the buffer.
Definition at line 372 of file BinaryStream.php.
◆ get()
pocketmine\utils\BinaryStream::get |
( |
int | $len | ) |
|
|
inherited |
◆ getAddress()
raklib\protocol\PacketSerializer::getAddress |
( |
| ) |
|
◆ getBool()
pocketmine\utils\BinaryStream::getBool |
( |
| ) |
|
|
inherited |
◆ getBuffer()
pocketmine\utils\BinaryStream::getBuffer |
( |
| ) |
|
|
inherited |
◆ getByte()
pocketmine\utils\BinaryStream::getByte |
( |
| ) |
|
|
inherited |
◆ getDouble()
pocketmine\utils\BinaryStream::getDouble |
( |
| ) |
|
|
inherited |
◆ getFloat()
pocketmine\utils\BinaryStream::getFloat |
( |
| ) |
|
|
inherited |
◆ getInt()
pocketmine\utils\BinaryStream::getInt |
( |
| ) |
|
|
inherited |
◆ getLDouble()
pocketmine\utils\BinaryStream::getLDouble |
( |
| ) |
|
|
inherited |
◆ getLFloat()
pocketmine\utils\BinaryStream::getLFloat |
( |
| ) |
|
|
inherited |
◆ getLInt()
pocketmine\utils\BinaryStream::getLInt |
( |
| ) |
|
|
inherited |
◆ getLLong()
pocketmine\utils\BinaryStream::getLLong |
( |
| ) |
|
|
inherited |
◆ getLong()
pocketmine\utils\BinaryStream::getLong |
( |
| ) |
|
|
inherited |
◆ getLShort()
pocketmine\utils\BinaryStream::getLShort |
( |
| ) |
|
|
inherited |
◆ getLTriad()
pocketmine\utils\BinaryStream::getLTriad |
( |
| ) |
|
|
inherited |
◆ getOffset()
pocketmine\utils\BinaryStream::getOffset |
( |
| ) |
|
|
inherited |
◆ getRemaining()
pocketmine\utils\BinaryStream::getRemaining |
( |
| ) |
|
|
inherited |
◆ getRoundedFloat()
pocketmine\utils\BinaryStream::getRoundedFloat |
( |
int | $accuracy | ) |
|
|
inherited |
◆ getRoundedLFloat()
pocketmine\utils\BinaryStream::getRoundedLFloat |
( |
int | $accuracy | ) |
|
|
inherited |
◆ getShort()
pocketmine\utils\BinaryStream::getShort |
( |
| ) |
|
|
inherited |
◆ getSignedLShort()
pocketmine\utils\BinaryStream::getSignedLShort |
( |
| ) |
|
|
inherited |
◆ getSignedShort()
pocketmine\utils\BinaryStream::getSignedShort |
( |
| ) |
|
|
inherited |
◆ getString()
raklib\protocol\PacketSerializer::getString |
( |
| ) |
|
◆ getTriad()
pocketmine\utils\BinaryStream::getTriad |
( |
| ) |
|
|
inherited |
◆ getUnsignedVarInt()
pocketmine\utils\BinaryStream::getUnsignedVarInt |
( |
| ) |
|
|
inherited |
Reads a 32-bit variable-length unsigned integer from the buffer and returns it.
@phpstan-impure
- Exceptions
-
Definition at line 307 of file BinaryStream.php.
◆ getUnsignedVarLong()
pocketmine\utils\BinaryStream::getUnsignedVarLong |
( |
| ) |
|
|
inherited |
Reads a 64-bit variable-length integer from the buffer and returns it.
@phpstan-impure
- Exceptions
-
Definition at line 341 of file BinaryStream.php.
◆ getVarInt()
pocketmine\utils\BinaryStream::getVarInt |
( |
| ) |
|
|
inherited |
Reads a 32-bit zigzag-encoded variable-length integer from the buffer and returns it.
@phpstan-impure
- Exceptions
-
Definition at line 324 of file BinaryStream.php.
◆ getVarLong()
pocketmine\utils\BinaryStream::getVarLong |
( |
| ) |
|
|
inherited |
Reads a 64-bit zigzag-encoded variable-length integer from the buffer and returns it.
@phpstan-impure
- Exceptions
-
Definition at line 358 of file BinaryStream.php.
◆ put()
pocketmine\utils\BinaryStream::put |
( |
string | $str | ) |
|
|
inherited |
◆ putAddress()
◆ putBool()
pocketmine\utils\BinaryStream::putBool |
( |
bool | $v | ) |
|
|
inherited |
◆ putByte()
pocketmine\utils\BinaryStream::putByte |
( |
int | $v | ) |
|
|
inherited |
◆ putDouble()
pocketmine\utils\BinaryStream::putDouble |
( |
float | $v | ) |
|
|
inherited |
◆ putFloat()
pocketmine\utils\BinaryStream::putFloat |
( |
float | $v | ) |
|
|
inherited |
◆ putInt()
pocketmine\utils\BinaryStream::putInt |
( |
int | $v | ) |
|
|
inherited |
◆ putLDouble()
pocketmine\utils\BinaryStream::putLDouble |
( |
float | $v | ) |
|
|
inherited |
◆ putLFloat()
pocketmine\utils\BinaryStream::putLFloat |
( |
float | $v | ) |
|
|
inherited |
◆ putLInt()
pocketmine\utils\BinaryStream::putLInt |
( |
int | $v | ) |
|
|
inherited |
◆ putLLong()
pocketmine\utils\BinaryStream::putLLong |
( |
int | $v | ) |
|
|
inherited |
◆ putLong()
pocketmine\utils\BinaryStream::putLong |
( |
int | $v | ) |
|
|
inherited |
◆ putLShort()
pocketmine\utils\BinaryStream::putLShort |
( |
int | $v | ) |
|
|
inherited |
◆ putLTriad()
pocketmine\utils\BinaryStream::putLTriad |
( |
int | $v | ) |
|
|
inherited |
◆ putShort()
pocketmine\utils\BinaryStream::putShort |
( |
int | $v | ) |
|
|
inherited |
◆ putString()
raklib\protocol\PacketSerializer::putString |
( |
string | $v | ) |
|
◆ putTriad()
pocketmine\utils\BinaryStream::putTriad |
( |
int | $v | ) |
|
|
inherited |
◆ putUnsignedVarInt()
pocketmine\utils\BinaryStream::putUnsignedVarInt |
( |
int | $v | ) |
|
|
inherited |
Writes a 32-bit variable-length unsigned integer to the end of the buffer.
Definition at line 314 of file BinaryStream.php.
◆ putUnsignedVarLong()
pocketmine\utils\BinaryStream::putUnsignedVarLong |
( |
int | $v | ) |
|
|
inherited |
Writes a 64-bit variable-length integer to the end of the buffer.
Definition at line 348 of file BinaryStream.php.
◆ putVarInt()
pocketmine\utils\BinaryStream::putVarInt |
( |
int | $v | ) |
|
|
inherited |
Writes a 32-bit zigzag-encoded variable-length integer to the end of the buffer.
Definition at line 331 of file BinaryStream.php.
◆ putVarLong()
pocketmine\utils\BinaryStream::putVarLong |
( |
int | $v | ) |
|
|
inherited |
Writes a 64-bit zigzag-encoded variable-length integer to the end of the buffer.
Definition at line 365 of file BinaryStream.php.
◆ rewind()
pocketmine\utils\BinaryStream::rewind |
( |
| ) |
|
|
inherited |
◆ setOffset()
pocketmine\utils\BinaryStream::setOffset |
( |
int | $offset | ) |
|
|
inherited |
◆ $buffer
pocketmine\utils\BinaryStream::$buffer |
|
protectedinherited |
◆ $offset
pocketmine\utils\BinaryStream::$offset |
|
protectedinherited |
The documentation for this class was generated from the following file: