dev-master
9999999-devBijection class
MIT
The Development Requires
by Alexandr Perekopskiy
bijection
1.0
1.0.0.0Bijection class
MIT
The Development Requires
by Alexandr Perekopskiy
bijection
Bijection class
Simple implementation one-to-one correspondence function on PHP., (*1)
Encoding:, (*3)
$bijection = new AlexKR\Biject\Bijection(); $result = $bijection->encode(42); //q
Decoding:, (*4)
$bijection = new AlexKR\Biject\Bijection(); $result = $bijection->decode('iq'); //512
Change alphabet:, (*5)
$bijection = new AlexKR\Biject\Bijection('0123456789'); $result = $bijection->encode(17); //17
Install via Composer:, (*6)
composer require alexkr/Biject
Biject is licensed under the MIT License, (*7)
Bijection class
MIT
bijection
Bijection class
MIT
bijection