__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
namespace Ramsey\Uuid;
/**
* Provides binary math utilities
*/
class BinaryUtils
{
/**
* Applies the RFC 4122 variant field to the `clock_seq_hi_and_reserved` field
*
* @param $clockSeqHi
* @return int The high field of the clock sequence multiplexed with the variant
* @link http://tools.ietf.org/html/rfc4122#section-4.1.1
*/
public static function applyVariant($clockSeqHi)
{
// Set the variant to RFC 4122
$clockSeqHi = $clockSeqHi & 0x3f;
$clockSeqHi |= 0x80;
return $clockSeqHi;
}
/**
* Applies the RFC 4122 version number to the `time_hi_and_version` field
*
* @param string $timeHi
* @param integer $version
* @return int The high field of the timestamp multiplexed with the version number
* @link http://tools.ietf.org/html/rfc4122#section-4.1.3
*/
public static function applyVersion($timeHi, $version)
{
$timeHi = hexdec($timeHi) & 0x0fff;
$timeHi |= $version << 12;
return $timeHi;
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| Builder | Folder | 0775 |
|
|
| Codec | Folder | 0775 |
|
|
| Converter | Folder | 0775 |
|
|
| Exception | Folder | 0775 |
|
|
| Generator | Folder | 0775 |
|
|
| Provider | Folder | 0775 |
|
|
| BinaryUtils.php | File | 1.04 KB | 0664 |
|
| DegradedUuid.php | File | 3.6 KB | 0664 |
|
| FeatureSet.php | File | 9 KB | 0664 |
|
| Uuid.php | File | 22.85 KB | 0664 |
|
| UuidFactory.php | File | 8.3 KB | 0664 |
|
| UuidFactoryInterface.php | File | 3.82 KB | 0664 |
|
| UuidInterface.php | File | 9.23 KB | 0664 |
|
| functions.php | File | 2.31 KB | 0664 |
|