PocketMine-MP 5.21.2 git-a6534ecbbbcf369264567d27e5ed70f7f5be9816
Loading...
Searching...
No Matches
pocketmine\nbt\NbtStreamWriter Interface Reference
+ Inheritance diagram for pocketmine\nbt\NbtStreamWriter:
+ Collaboration diagram for pocketmine\nbt\NbtStreamWriter:

Public Member Functions

 writeByte (int $v)
 
 writeByteArray (string $v)
 
 writeDouble (float $v)
 
 writeFloat (float $v)
 
 writeInt (int $v)
 
 writeIntArray (array $array)
 
 writeLong (int $v)
 
 writeShort (int $v)
 
 writeString (string $v)
 

Detailed Description

Definition at line 29 of file NbtStreamWriter.php.

Member Function Documentation

◆ writeIntArray()

pocketmine\nbt\NbtStreamWriter::writeIntArray ( array $array)

◆ writeString()

pocketmine\nbt\NbtStreamWriter::writeString ( string $v)
Exceptions

InvalidArgumentException if the string is too long

Implemented in pocketmine\nbt\BaseNbtSerializer, and pocketmine\network\mcpe\protocol\serializer\NetworkNbtSerializer.


The documentation for this interface was generated from the following file: