PocketMine
BinaryStream Class Reference
Inheritance diagram for BinaryStream:
DataPacket AddEntityPacket AddItemEntityPacket AddPaintingPacket AddPlayerPacket AdventureSettingsPacket AnimatePacket BatchPacket BlockEntityDataPacket BlockEventPacket ContainerClosePacket ContainerOpenPacket ContainerSetContentPacket ContainerSetDataPacket ContainerSetSlotPacket CraftingDataPacket CraftingEventPacket DisconnectPacket DropItemPacket EntityEventPacket ExplodePacket FullChunkDataPacket HurtArmorPacket InteractPacket LevelEventPacket LoginPacket MobArmorEquipmentPacket MobEffectPacket MobEquipmentPacket MoveEntityPacket MovePlayerPacket PlayerActionPacket PlayerListPacket PlayStatusPacket RemoveBlockPacket RemoveEntityPacket RemovePlayerPacket RespawnPacket SetDifficultyPacket SetEntityDataPacket SetEntityLinkPacket SetEntityMotionPacket SetHealthPacket SetPlayerGameTypePacket SetSpawnPositionPacket SetTimePacket StartGamePacket TakeItemEntityPacket TextPacket UpdateAttributesPacket UpdateBlockPacket UseItemPacket

Public Member Functions

 __construct ($buffer="", $offset=0)
 
 reset ()
 
 setBuffer ($buffer=null, $offset=0)
 
 getOffset ()
 
 getBuffer ()
 
 get ($len)
 
 put ($str)
 
 getLong ()
 
 putLong ($v)
 
 getInt ()
 
 putInt ($v)
 
 getLLong ()
 
 putLLong ($v)
 
 getLInt ()
 
 putLInt ($v)
 
 getSignedShort ()
 
 putShort ($v)
 
 getShort ()
 
 putSignedShort ($v)
 
 getFloat ()
 
 putFloat ($v)
 
 getLShort ($signed=true)
 
 putLShort ($v)
 
 getLFloat ()
 
 putLFloat ($v)
 
 getTriad ()
 
 putTriad ($v)
 
 getLTriad ()
 
 putLTriad ($v)
 
 getByte ()
 
 putByte ($v)
 
 getDataArray ($len=10)
 
 putDataArray (array $data=[])
 
 getUUID ()
 
 putUUID (UUID $uuid)
 
 getSlot ()
 
 putSlot (Item $item)
 
 getString ()
 
 putString ($v)
 
 feof ()
 

Data Fields

 $offset
 
 $buffer
 

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