.class public final Lcom/google/android/gms/common/util/Base64Utils; .super Ljava/lang/Object; .source "com.google.android.gms:play-services-basement@@18.0.0" # annotations .annotation build Lcom/google/android/gms/common/annotation/KeepForSdk; .end annotation # direct methods .method public constructor ()V .locals 0 invoke-direct {p0}, Ljava/lang/Object;->()V return-void .end method .method public static decode(Ljava/lang/String;)[B .locals 1 .param p0 # Ljava/lang/String; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/NonNull; .end annotation .annotation build Lcom/google/android/gms/common/annotation/KeepForSdk; .end annotation if-nez p0, :cond_0 const/4 p0, 0x0 return-object p0 :cond_0 const/4 v0, 0x0 .line 1 invoke-static {p0, v0}, Landroid/util/Base64;->decode(Ljava/lang/String;I)[B move-result-object p0 return-object p0 .end method .method public static decodeUrlSafe(Ljava/lang/String;)[B .locals 1 .param p0 # Ljava/lang/String; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/NonNull; .end annotation .annotation build Lcom/google/android/gms/common/annotation/KeepForSdk; .end annotation if-nez p0, :cond_0 const/4 p0, 0x0 return-object p0 :cond_0 const/16 v0, 0xa .line 1 invoke-static {p0, v0}, Landroid/util/Base64;->decode(Ljava/lang/String;I)[B move-result-object p0 return-object p0 .end method .method public static decodeUrlSafeNoPadding(Ljava/lang/String;)[B .locals 1 .param p0 # Ljava/lang/String; .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/NonNull; .end annotation .annotation build Lcom/google/android/gms/common/annotation/KeepForSdk; .end annotation if-nez p0, :cond_0 const/4 p0, 0x0 return-object p0 :cond_0 const/16 v0, 0xb .line 1 invoke-static {p0, v0}, Landroid/util/Base64;->decode(Ljava/lang/String;I)[B move-result-object p0 return-object p0 .end method .method public static encode([B)Ljava/lang/String; .locals 1 .param p0 # [B .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/NonNull; .end annotation .annotation build Lcom/google/android/gms/common/annotation/KeepForSdk; .end annotation if-nez p0, :cond_0 const/4 p0, 0x0 return-object p0 :cond_0 const/4 v0, 0x0 .line 1 invoke-static {p0, v0}, Landroid/util/Base64;->encodeToString([BI)Ljava/lang/String; move-result-object p0 return-object p0 .end method .method public static encodeUrlSafe([B)Ljava/lang/String; .locals 1 .param p0 # [B .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/NonNull; .end annotation .annotation build Lcom/google/android/gms/common/annotation/KeepForSdk; .end annotation if-nez p0, :cond_0 const/4 p0, 0x0 return-object p0 :cond_0 const/16 v0, 0xa .line 1 invoke-static {p0, v0}, Landroid/util/Base64;->encodeToString([BI)Ljava/lang/String; move-result-object p0 return-object p0 .end method .method public static encodeUrlSafeNoPadding([B)Ljava/lang/String; .locals 1 .param p0 # [B .annotation build Landroidx/annotation/NonNull; .end annotation .end param .annotation build Landroidx/annotation/NonNull; .end annotation .annotation build Lcom/google/android/gms/common/annotation/KeepForSdk; .end annotation if-nez p0, :cond_0 const/4 p0, 0x0 return-object p0 :cond_0 const/16 v0, 0xb .line 1 invoke-static {p0, v0}, Landroid/util/Base64;->encodeToString([BI)Ljava/lang/String; move-result-object p0 return-object p0 .end method