danog\MadelineProto\TL\Types\Bytes
Author: Daniil Gentili daniil@daniil.it
Bytes wrapper.
Cast this object to a string ((string) $bytes) to obtain the inner bytes.
Method list:
__construct(string $bytes)
jsonSerialize(): array
offsetSet((integer|null) $offset, string $value): void
offsetGet(integer $offset): string
offsetUnset(integer $offset): void
offsetExists(integer $offset): bool
Methods:
__construct(string $bytes)
Constructor function.
Parameters:
$bytes
:string
Contents
jsonSerialize(): array
Obtain values for JSON-encoding.
offsetSet((integer|null) $offset, string $value): void
Set char at offset.
Parameters:
$offset
:(integer|null)
Offset$value
:string
Char
offsetGet(integer $offset): string
Get char at offset.
Parameters:
$offset
:integer
Name
offsetUnset(integer $offset): void
Unset char at offset.
Parameters:
$offset
:integer
Offset
offsetExists(integer $offset): bool
Check if char at offset exists.
Parameters:
$offset
:integer
Offset
Generated by danog/phpdoc