[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/vendor/ramsey/uuid/src/Converter/Number/ -> BigNumberConverter.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: 54 lines (2 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

BigNumberConverter:: (2 methods):
  fromHex()
  toHex()


Class: BigNumberConverter  - X-Ref

BigNumberConverter converts UUIDs from hexadecimal characters into
moontoast/math `BigNumber` representations of integers and vice versa

fromHex($hex)   X-Ref
Converts a hexadecimal number into a `Moontoast\Math\BigNumber` representation

param: string $hex The hexadecimal string representation to convert
return: BigNumber

toHex($integer)   X-Ref
Converts an integer or `Moontoast\Math\BigNumber` integer representation
into a hexadecimal string representation

param: int|string|BigNumber $integer An integer or `Moontoast\Math\BigNumber`
return: string Hexadecimal string



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