### 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:
- ""
inheritedClassMethods:
- classRef: "java.lang.Object"
methodsRef:
- "clone"
- "equals"
- "finalize"
- "getClass"
- "hashCode"
- "notify"
- "notifyAll"
- "toString"
- "wait"
- "wait"
- "wait"
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: "[]"
syntax: "public static byte[] decode(byte[] encoded)"
desc: "Decodes a base64 encoded byte array."
returns:
description: "the decoded byte array"
type: "[]"
- 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: "String"
syntax: "public static byte[] decodeString(String encoded)"
desc: "Decodes a base64 encoded string."
returns:
description: "the decoded byte array"
type: "[]"
- 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: "[]"
syntax: "public static byte[] decodeURL(byte[] src)"
desc: "Decodes a byte array in base64 URL format."
returns:
description: "the decoded byte array"
type: "[]"
- 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: "[]"
syntax: "public static byte[] encode(byte[] src)"
desc: "Encodes a byte array to base64."
returns:
description: "the base64 encoded bytes"
type: "[]"
- 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: "[]"
syntax: "public static String encodeToString(byte[] src)"
desc: "Encodes a byte array to a base 64 string."
returns:
description: "the base64 encoded string"
type: "String"
- 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: "[]"
syntax: "public static byte[] encodeURLWithoutPadding(byte[] src)"
desc: "Encodes a byte array to base64 URL format."
returns:
description: "the base64 URL encoded bytes"
type: "[]"
type: "class"
desc: "Utility type exposing Base64 encoding and decoding methods."
metadata: {}
package: "com.azure.core.util"
artifact: com.azure:azure-core:1.54.0