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 string from Base64UrlEncoded to UTF8. |
DecodeBytes(String) |
Converts the specified string, base-64-url encoded to utf8 bytes. |
Encode(Byte[]) |
Converts a subset of an array of 8-bit unsigned integers to its equivalent string representation which is encoded with base-64-url digits. |
Encode(Byte[], Int32, Int32) |
Converts a subset of an array of 8-bit unsigned integers to its equivalent string representation which is encoded with base-64-url digits. Parameters specify the subset as an offset in the input array, and the number of elements in the array to convert. |
Encode(ReadOnlySpan<Byte>, Span<Char>) |
Populates a ReadOnlySpan<T>Converts a Span<T> encoded with base-64-url digits. Parameters specify the subset as an offset in the input array, and the number of elements in the array to convert. |
Encode(String) |
The following functions perform base64url encoding which differs from regular base64 encoding as follows
|
Applies to
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour