PocketMine-MP 5.21.3 git-fcef015f32c0b0709cfd4d6f1b3c32f484b25bde
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: