Module : encoding

Version : 1.0.2

Module Overview

This module provides the necessary utilities, which are required to encode and decode content using different URL encoding mechanisms and algorithms.

For information on the operations, which you can perform with this module, see the below Functions.

Functions

decodeBase64Url
I

Decodes the Base64 URL encoded string into a byte array.

decodeUriComponent
I

Decodes the given URI component into a string using the provided charset.

encodeBase64Url
I

Returns the Base64 URL encoded string value of the given byte array.

encodeUriComponent
I

Encodes the given URI component into a string using the provided charset.

Types

Error

Represents the Encoding module error.

Errors

DecodingError

Represents the Decoding error.

EncodingError

Represents the Encoding error.