Link Search Menu Expand Document

danog\MadelineProto\TL\Types\Bytes

Back to index

Author: Daniil Gentili daniil@daniil.it

Bytes wrapper.

Method list:

  • jsonSerialize()
  • offsetSet(int|null $offset, string $value)
  • offsetGet(int $offset): string
  • offsetUnset(int $offset)
  • offsetExists(int $offset)

Methods:

jsonSerialize()

Obtain values for JSON-encoding.

offsetSet(int|null $offset, string $value)

Set char at offset.

Parameters:

  • $offset: int|null Offset
  • $value: string Char

offsetGet(int $offset): string

Get char at offset.

Parameters:

  • $offset: int Name

offsetUnset(int $offset)

Unset char at offset.

Parameters:

  • $offset: int Offset

offsetExists(int $offset)

Check if char at offset exists.

Parameters:

  • $offset: int Offset

Generated by danog/phpdoc