Skip to content

NetherNetFrameReader 5.46.0 ​

final class · pocketmine\network\mcpe\nethernet\NetherNetFrameReader · source

Decodes the body of a frame received from the NetherNet bridge. Integers are big-endian, strings are prefixed with a uint16 length.

Methods ​

__construct() ​

php
public function __construct(string $buffer, int $offset = 0)

bytes() ​

php
public function bytes(int $length) : string

hasMore() ​

php
public function hasMore() : bool

rest() ​

php
public function rest() : string

string() ​

php
public function string() : string

u16() ​

php
public function u16() : int

u32() ​

php
public function u32() : int

u8() ​

php
public function u8() : int

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.