class BinaryUtil

Constants

BASE10

BASE58

TIME_OFFSET_INT

TIME_OFFSET_BIN

TIME_OFFSET_COM1

TIME_OFFSET_COM2

Methods

static string
toBase(string$bytes,array$map)

No description

static string
fromBase(string$digits,array$map)

No description

static string
add(string$a,string$b)

No description

hexToDateTime(string$time)

No description

static string
dateTimeToHex(DateTimeInterface$time)

No description

Details

staticstring toBase(string$bytes,array$map)

Parameters

string $bytes
array $map

Return Value

string

staticstring fromBase(string$digits,array$map)

Parameters

string $digits
array $map

Return Value

string

staticstring add(string$a,string$b)

Parameters

string $a
string $b

Return Value

string

staticDateTimeImmutable hexToDateTime(string$time)

Parameters

string $time Count of 100-nanosecond intervals since the UUID epoch 1582-10-15 00:00:00 in hexadecimal

Return Value

DateTimeImmutable

staticstring dateTimeToHex(DateTimeInterface$time)

Parameters

DateTimeInterface $time

Return Value

string Count of 100-nanosecond intervals since the UUID epoch 1582-10-15 00:00:00 in hexadecimal