Base32
in package
FinalYes
Provides a Base32 serialiser.
Table of Contents
Methods
- decode() : string
- Decodes a Base32 string back to binary data.
- encode() : string
- Encodes binary data as a Base32 string.
Methods
decode()
Decodes a Base32 string back to binary data.
public
static decode(Stream|string $input) : string
Parameters
- $input : Stream|string
-
Input Base32 string.
Return values
string —Binary data.
encode()
Encodes binary data as a Base32 string.
public
static encode(Stream|string $input) : string
Parameters
- $input : Stream|string
-
Input binary data.
Return values
string —Base32 string representing the binary data.