◆ decode()
static decode |
( |
string |
$encodedString, |
|
|
bool |
$strictPadding = false |
|
) |
| |
|
static |
◆ decode5Bits()
static decode5Bits |
( |
int |
$src | ) |
|
|
staticprotected |
Uses bitwise operators instead of table-lookups to turn 5-bit integers into 8-bit integers.
- Paramètres
-
- Renvoie
- int
◆ decode5BitsUpper()
static decode5BitsUpper |
( |
int |
$src | ) |
|
|
staticprotected |
Uses bitwise operators instead of table-lookups to turn 5-bit integers into 8-bit integers.
Uppercase variant.
- Paramètres
-
- Renvoie
- int
◆ decodeNoPadding()
static decodeNoPadding |
( |
string |
$encodedString, |
|
|
bool |
$upper = false |
|
) |
| |
|
static |
◆ decodeUpper()
static decodeUpper |
( |
string |
$src, |
|
|
bool |
$strictPadding = false |
|
) |
| |
|
static |
◆ encode()
static encode |
( |
string |
$binString | ) |
|
|
static |
◆ encode5Bits()
static encode5Bits |
( |
int |
$src | ) |
|
|
staticprotected |
Uses bitwise operators instead of table-lookups to turn 8-bit integers into 5-bit integers.
- Paramètres
-
- Renvoie
- string
◆ encode5BitsUpper()
static encode5BitsUpper |
( |
int |
$src | ) |
|
|
staticprotected |
Uses bitwise operators instead of table-lookups to turn 8-bit integers into 5-bit integers.
Uppercase variant.
- Paramètres
-
- Renvoie
- string
◆ encodeUnpadded()
static encodeUnpadded |
( |
string |
$src | ) |
|
|
static |
Encode into Base32 (RFC 4648)
- Paramètres
-
- Renvoie
- string
- Exceptions
-
◆ encodeUpper()
static encodeUpper |
( |
string |
$src | ) |
|
|
static |
◆ encodeUpperUnpadded()
static encodeUpperUnpadded |
( |
string |
$src | ) |
|
|
static |
Encode into uppercase Base32 (RFC 4648)
- Paramètres
-
- Renvoie
- string
- Exceptions
-
La documentation de cette classe a été générée à partir du fichier suivant :