[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/ramsey/uuid/src/Codec/ -> CodecInterface.php (summary)

This file is part of the ramsey/uuid library For the full copyright and license information, please view the LICENSE file that was distributed with this source code.

Copyright: Copyright (c) Ben Ramsey <[email protected]>
License: http://opensource.org/licenses/MIT MIT
File Size: 60 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

CodecInterface:: (4 methods):
  encode()
  encodeBinary()
  decode()
  decodeBytes()


Interface: CodecInterface  - X-Ref

CodecInterface represents a UUID coder-decoder

encode(UuidInterface $uuid)   X-Ref
Encodes a UuidInterface as a string representation of a UUID

param: UuidInterface $uuid
return: string Hexadecimal string representation of a UUID

encodeBinary(UuidInterface $uuid)   X-Ref
Encodes a UuidInterface as a binary representation of a UUID

param: UuidInterface $uuid
return: string Binary string representation of a UUID

decode($encodedUuid)   X-Ref
Decodes a string representation of a UUID into a UuidInterface object instance

param: string $encodedUuid
return: UuidInterface

decodeBytes($bytes)   X-Ref
Decodes a binary representation of a UUID into a UuidInterface object instance

param: string $bytes
return: UuidInterface



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer