126 строки
6.1 KiB
YAML
126 строки
6.1 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.core.util.Base64Util"
|
|
fullName: "com.azure.core.util.Base64Util"
|
|
name: "Base64Util"
|
|
nameWithType: "Base64Util"
|
|
summary: "Utility type exposing Base64 encoding and decoding methods."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedClassMethods:
|
|
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
|
|
methodsRef:
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
|
|
syntax: "public final class **Base64Util**"
|
|
methods:
|
|
- uid: "com.azure.core.util.Base64Util.decode(byte[])"
|
|
fullName: "com.azure.core.util.Base64Util.decode(byte[] encoded)"
|
|
name: "decode(byte[] encoded)"
|
|
nameWithType: "Base64Util.decode(byte[] encoded)"
|
|
summary: "Decodes a base64 encoded byte array."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "the byte array to decode"
|
|
name: "encoded"
|
|
type: "<xref href=\"byte?alt=byte&text=byte\" data-throw-if-not-resolved=\"False\" />[]"
|
|
syntax: "public static byte[] decode(byte[] encoded)"
|
|
desc: "Decodes a base64 encoded byte array."
|
|
returns:
|
|
description: "the decoded byte array"
|
|
type: "<xref href=\"byte?alt=byte&text=byte\" data-throw-if-not-resolved=\"False\" />[]"
|
|
- uid: "com.azure.core.util.Base64Util.decodeString(java.lang.String)"
|
|
fullName: "com.azure.core.util.Base64Util.decodeString(String encoded)"
|
|
name: "decodeString(String encoded)"
|
|
nameWithType: "Base64Util.decodeString(String encoded)"
|
|
summary: "Decodes a base64 encoded string."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "the string to decode"
|
|
name: "encoded"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public static byte[] decodeString(String encoded)"
|
|
desc: "Decodes a base64 encoded string."
|
|
returns:
|
|
description: "the decoded byte array"
|
|
type: "<xref href=\"byte?alt=byte&text=byte\" data-throw-if-not-resolved=\"False\" />[]"
|
|
- uid: "com.azure.core.util.Base64Util.decodeURL(byte[])"
|
|
fullName: "com.azure.core.util.Base64Util.decodeURL(byte[] src)"
|
|
name: "decodeURL(byte[] src)"
|
|
nameWithType: "Base64Util.decodeURL(byte[] src)"
|
|
summary: "Decodes a byte array in base64 URL format."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "the byte array to decode"
|
|
name: "src"
|
|
type: "<xref href=\"byte?alt=byte&text=byte\" data-throw-if-not-resolved=\"False\" />[]"
|
|
syntax: "public static byte[] decodeURL(byte[] src)"
|
|
desc: "Decodes a byte array in base64 URL format."
|
|
returns:
|
|
description: "the decoded byte array"
|
|
type: "<xref href=\"byte?alt=byte&text=byte\" data-throw-if-not-resolved=\"False\" />[]"
|
|
- uid: "com.azure.core.util.Base64Util.encode(byte[])"
|
|
fullName: "com.azure.core.util.Base64Util.encode(byte[] src)"
|
|
name: "encode(byte[] src)"
|
|
nameWithType: "Base64Util.encode(byte[] src)"
|
|
summary: "Encodes a byte array to base64."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "the byte array to encode"
|
|
name: "src"
|
|
type: "<xref href=\"byte?alt=byte&text=byte\" data-throw-if-not-resolved=\"False\" />[]"
|
|
syntax: "public static byte[] encode(byte[] src)"
|
|
desc: "Encodes a byte array to base64."
|
|
returns:
|
|
description: "the base64 encoded bytes"
|
|
type: "<xref href=\"byte?alt=byte&text=byte\" data-throw-if-not-resolved=\"False\" />[]"
|
|
- uid: "com.azure.core.util.Base64Util.encodeToString(byte[])"
|
|
fullName: "com.azure.core.util.Base64Util.encodeToString(byte[] src)"
|
|
name: "encodeToString(byte[] src)"
|
|
nameWithType: "Base64Util.encodeToString(byte[] src)"
|
|
summary: "Encodes a byte array to a base 64 string."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "the byte array to encode"
|
|
name: "src"
|
|
type: "<xref href=\"byte?alt=byte&text=byte\" data-throw-if-not-resolved=\"False\" />[]"
|
|
syntax: "public static String encodeToString(byte[] src)"
|
|
desc: "Encodes a byte array to a base 64 string."
|
|
returns:
|
|
description: "the base64 encoded string"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.core.util.Base64Util.encodeURLWithoutPadding(byte[])"
|
|
fullName: "com.azure.core.util.Base64Util.encodeURLWithoutPadding(byte[] src)"
|
|
name: "encodeURLWithoutPadding(byte[] src)"
|
|
nameWithType: "Base64Util.encodeURLWithoutPadding(byte[] src)"
|
|
summary: "Encodes a byte array to base64 URL format."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "the byte array to encode"
|
|
name: "src"
|
|
type: "<xref href=\"byte?alt=byte&text=byte\" data-throw-if-not-resolved=\"False\" />[]"
|
|
syntax: "public static byte[] encodeURLWithoutPadding(byte[] src)"
|
|
desc: "Encodes a byte array to base64 URL format."
|
|
returns:
|
|
description: "the base64 URL encoded bytes"
|
|
type: "<xref href=\"byte?alt=byte&text=byte\" data-throw-if-not-resolved=\"False\" />[]"
|
|
type: "class"
|
|
desc: "Utility type exposing Base64 encoding and decoding methods."
|
|
metadata: {}
|
|
package: "com.azure.core.util"
|
|
artifact: com.azure:azure-core:1.52.0
|