X7ROOT File Manager
Current Path:
/home/notabjze/just4dastreets.com/libraries/vendor/ramsey/uuid/src
home
/
notabjze
/
just4dastreets.com
/
libraries
/
vendor
/
ramsey
/
uuid
/
src
/
ðŸ“
..
📄
BinaryUtils.php
(1.04 KB)
ðŸ“
Builder
ðŸ“
Codec
ðŸ“
Converter
📄
DegradedUuid.php
(3.6 KB)
ðŸ“
Exception
📄
FeatureSet.php
(9 KB)
ðŸ“
Generator
ðŸ“
Provider
📄
Uuid.php
(22.13 KB)
📄
UuidFactory.php
(8.3 KB)
📄
UuidFactoryInterface.php
(3.82 KB)
📄
UuidInterface.php
(9.23 KB)
📄
functions.php
(2.31 KB)
Editing: BinaryUtils.php
<?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; } }
Upload File
Create Folder