PHP Класс Ramsey\Uuid\Codec\OrderedTimeCodec

The string value will be unchanged from StringCodec. Only works for UUID type 1.
Наследование: extends Ramsey\Uuid\Codec\StringCodec
Показать файл Открыть проект

Открытые методы

Метод Описание
decodeBytes ( string $bytes ) : Ramsey\Uuid\UuidInterface Decodes an optimized binary representation of a UUID into a UuidInterface object instance
encodeBinary ( Ramsey\Uuid\UuidInterface $uuid ) : string Encodes a UuidInterface as an optimized binary representation of a UUID

Описание методов

decodeBytes() публичный Метод

Decodes an optimized binary representation of a UUID into a UuidInterface object instance
public decodeBytes ( string $bytes ) : Ramsey\Uuid\UuidInterface
$bytes string
Результат Ramsey\Uuid\UuidInterface

encodeBinary() публичный Метод

Encodes a UuidInterface as an optimized binary representation of a UUID
public encodeBinary ( Ramsey\Uuid\UuidInterface $uuid ) : string
$uuid Ramsey\Uuid\UuidInterface
Результат string Binary string representation of a UUID