writeLLong() public static method

public static writeLLong ( $value )
Exemplo n.º 1
0
 public function putLLong($v)
 {
     $this->buffer .= Binary::writeLLong($v);
 }
Exemplo n.º 2
0
 public function write(NBT $nbt)
 {
     $nbt->buffer .= $nbt->endianness === 1 ? \pack("NN", $this->value >> 32, $this->value & 0xffffffff) : Binary::writeLLong($this->value);
 }
Exemplo n.º 3
0
 public function write(NBT $nbt)
 {
     $nbt->buffer .= $nbt->endianness === 1 ? Binary::writeLong($this->value) : Binary::writeLLong($this->value);
 }
Exemplo n.º 4
0
 public function putLong($v)
 {
     $this->buffer .= $this->endianness === self::BIG_ENDIAN ? Binary::writeLong($v) : Binary::writeLLong($v);
 }
Exemplo n.º 5
0
 public function putLong($v)
 {
     $this->buffer .= $this->endianness === self::BIG_ENDIAN ? \pack("NN", $v >> 32, $v & 4294967295.0) : Binary::writeLLong($v);
 }