Package web5.sdk.common
Class ConvertKt
-
- All Implemented Interfaces:
public final class ConvertKt
-
-
Field Summary
Fields Modifier and Type Field Description private final static Base64.EncoderB64URL_ENCODERprivate final static Base64.DecoderB64URL_DECODER
-
Method Summary
Modifier and Type Method Description final Base64.EncodergetB64URL_ENCODER()A Base64 URL encoder for encoding data into Base64 URL-safe format. final Base64.DecodergetB64URL_DECODER()A Base64 URL decoder for decoding data from Base64 URL-safe format. -
-
Method Detail
-
getB64URL_ENCODER
final Base64.Encoder getB64URL_ENCODER()
A Base64 URL encoder for encoding data into Base64 URL-safe format.
This encoder is used to encode binary data into a URL-safe Base64 representation. Base64 URL encoding replaces characters like '+' and '/' with '-' and '_', respectively, making the resulting string safe for use in URLs.
-
getB64URL_DECODER
final Base64.Decoder getB64URL_DECODER()
A Base64 URL decoder for decoding data from Base64 URL-safe format.
This decoder is used to decode Base64 URL-safe encoded strings back into their original binary data. It can handle strings that were encoded using the Base64 URL-safe encoding scheme, which is designed for safe inclusion in URLs without requiring additional URL encoding.
-
-
-
-