PHP Class Ramsey\Uuid\Codec\OrderedTimeCodec

The string value will be unchanged from StringCodec. Only works for UUID type 1.
Inheritance: extends Ramsey\Uuid\Codec\StringCodec
Afficher le fichier Open project: ramsey/uuid

Méthodes publiques

Méthode Description
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

Method Details

decodeBytes() public méthode

Decodes an optimized binary representation of a UUID into a UuidInterface object instance
public decodeBytes ( string $bytes ) : Ramsey\Uuid\UuidInterface
$bytes string
Résultat Ramsey\Uuid\UuidInterface

encodeBinary() public méthode

Encodes a UuidInterface as an optimized binary representation of a UUID
public encodeBinary ( Ramsey\Uuid\UuidInterface $uuid ) : string
$uuid Ramsey\Uuid\UuidInterface
Résultat string Binary string representation of a UUID