Base64UrlEncoder Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Encodes and Decodes strings as base64url encoding.
public static class Base64UrlEncoder
type Base64UrlEncoder = class
Public Class Base64UrlEncoder
- Inheritance
-
Base64UrlEncoder
Methods
Decode(String) |
Decodes the specified base64url encoded string to UTF-8. |
DecodeBytes(String) |
Converts the specified base64url encoded string to UTF-8 bytes. |
Encode(Byte[], Int32, Int32) |
Converts a subset of an array of 8-bit unsigned integers to its equivalent string representation encoded with base64url digits. Parameters specify the subset as an offset in the input array and the number of elements in the array to convert. |
Encode(Byte[]) |
Converts a subset of an array of 8-bit unsigned integers to its equivalent string representation encoded with base64url digits. |
Encode(ReadOnlySpan<Byte>, Span<Char>) |
Populates a Span<T> with the base64url encoded representation of a ReadOnlySpan<T> of bytes. |
Encode(String) |
Performs base64url encoding, which differs from regular base64 encoding as follows:
|