.class public Lokio/ByteString; .super Ljava/lang/Object; .source "ByteString.kt" # interfaces .implements Ljava/io/Serializable; .implements Ljava/lang/Comparable; # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Lokio/ByteString$a; } .end annotation .annotation system Ldalvik/annotation/Signature; value = { "Ljava/lang/Object;", "Ljava/io/Serializable;", "Ljava/lang/Comparable<", "Lokio/ByteString;", ">;" } .end annotation # static fields .field public static final f:Lokio/ByteString; .field public static final g:Lokio/ByteString$a; .field public static final serialVersionUID:J = 0x1L # instance fields .field public transient d:I .field public final data:[B .field public transient e:Ljava/lang/String; # direct methods .method public static constructor ()V .locals 2 new-instance v0, Lokio/ByteString$a; const/4 v1, 0x0 invoke-direct {v0, v1}, Lokio/ByteString$a;->(Lkotlin/jvm/internal/DefaultConstructorMarker;)V sput-object v0, Lokio/ByteString;->g:Lokio/ByteString$a; sget-object v0, Ly/y/a;->b:Lokio/ByteString; sput-object v0, Lokio/ByteString;->f:Lokio/ByteString; return-void .end method .method public constructor ([B)V .locals 0 if-eqz p1, :cond_0 invoke-direct {p0}, Ljava/lang/Object;->()V iput-object p1, p0, Lokio/ByteString;->data:[B return-void :cond_0 const-string p1, "data" invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V const/4 p1, 0x0 throw p1 .end method .method public static final c(Ljava/lang/String;)Lokio/ByteString; .locals 1 sget-object v0, Lokio/ByteString;->g:Lokio/ByteString$a; invoke-virtual {v0, p0}, Lokio/ByteString$a;->b(Ljava/lang/String;)Lokio/ByteString; move-result-object p0 return-object p0 .end method .method private final readObject(Ljava/io/ObjectInputStream;)V .locals 2 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation invoke-virtual {p1}, Ljava/io/ObjectInputStream;->readInt()I move-result v0 sget-object v1, Lokio/ByteString;->g:Lokio/ByteString$a; invoke-virtual {v1, p1, v0}, Lokio/ByteString$a;->a(Ljava/io/InputStream;I)Lokio/ByteString; move-result-object p1 const-class v0, Lokio/ByteString; const-string v1, "data" invoke-virtual {v0, v1}, Ljava/lang/Class;->getDeclaredField(Ljava/lang/String;)Ljava/lang/reflect/Field; move-result-object v0 const-string v1, "field" invoke-static {v0, v1}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V const/4 v1, 0x1 invoke-virtual {v0, v1}, Ljava/lang/reflect/Field;->setAccessible(Z)V iget-object p1, p1, Lokio/ByteString;->data:[B invoke-virtual {v0, p0, p1}, Ljava/lang/reflect/Field;->set(Ljava/lang/Object;Ljava/lang/Object;)V return-void .end method .method private final writeObject(Ljava/io/ObjectOutputStream;)V .locals 1 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation iget-object v0, p0, Lokio/ByteString;->data:[B array-length v0, v0 invoke-virtual {p1, v0}, Ljava/io/ObjectOutputStream;->writeInt(I)V iget-object v0, p0, Lokio/ByteString;->data:[B invoke-virtual {p1, v0}, Ljava/io/ObjectOutputStream;->write([B)V return-void .end method # virtual methods .method public final a(I)B .locals 0 invoke-virtual {p0, p1}, Lokio/ByteString;->b(I)B move-result p1 return p1 .end method .method public a(Lokio/ByteString;)I .locals 0 if-eqz p1, :cond_0 invoke-static {p0, p1}, Ly/y/a;->a(Lokio/ByteString;Lokio/ByteString;)I move-result p1 return p1 :cond_0 const-string p1, "other" invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V const/4 p1, 0x0 throw p1 .end method .method public a()Ljava/lang/String; .locals 1 invoke-static {p0}, Ly/y/a;->a(Lokio/ByteString;)Ljava/lang/String; move-result-object v0 return-object v0 .end method .method public a(Ljava/lang/String;)Lokio/ByteString; .locals 2 if-eqz p1, :cond_0 new-instance v0, Lokio/ByteString; invoke-static {p1}, Ljava/security/MessageDigest;->getInstance(Ljava/lang/String;)Ljava/security/MessageDigest; move-result-object p1 iget-object v1, p0, Lokio/ByteString;->data:[B invoke-virtual {p1, v1}, Ljava/security/MessageDigest;->digest([B)[B move-result-object p1 const-string v1, "MessageDigest.getInstance(algorithm).digest(data)" invoke-static {p1, v1}, Lt/u/b/j;->checkExpressionValueIsNotNull(Ljava/lang/Object;Ljava/lang/String;)V invoke-direct {v0, p1}, Lokio/ByteString;->([B)V return-object v0 :cond_0 const-string p1, "algorithm" invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V const/4 p1, 0x0 throw p1 .end method .method public a(Ljava/io/OutputStream;)V .locals 1 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation if-eqz p1, :cond_0 iget-object v0, p0, Lokio/ByteString;->data:[B invoke-virtual {p1, v0}, Ljava/io/OutputStream;->write([B)V return-void :cond_0 const-string p1, "out" invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V const/4 p1, 0x0 throw p1 .end method .method public a(Ly/e;)V .locals 3 if-eqz p1, :cond_0 iget-object v0, p0, Lokio/ByteString;->data:[B const/4 v1, 0x0 array-length v2, v0 invoke-virtual {p1, v0, v1, v2}, Ly/e;->write([BII)Ly/e; return-void :cond_0 const-string p1, "buffer" invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V const/4 p1, 0x0 throw p1 .end method .method public a(ILokio/ByteString;II)Z .locals 0 if-eqz p2, :cond_0 invoke-static {p0, p1, p2, p3, p4}, Ly/y/a;->a(Lokio/ByteString;ILokio/ByteString;II)Z move-result p1 return p1 :cond_0 const-string p1, "other" invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V const/4 p1, 0x0 throw p1 .end method .method public a(I[BII)Z .locals 0 if-eqz p2, :cond_0 invoke-static {p0, p1, p2, p3, p4}, Ly/y/a;->a(Lokio/ByteString;I[BII)Z move-result p1 return p1 :cond_0 const-string p1, "other" invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V const/4 p1, 0x0 throw p1 .end method .method public b(I)B .locals 0 invoke-static {p0, p1}, Ly/y/a;->a(Lokio/ByteString;I)B move-result p1 return p1 .end method .method public final b(Ljava/lang/String;)V .locals 0 iput-object p1, p0, Lokio/ByteString;->e:Ljava/lang/String; return-void .end method .method public final b(Lokio/ByteString;)Z .locals 0 if-eqz p1, :cond_0 invoke-static {p0, p1}, Ly/y/a;->b(Lokio/ByteString;Lokio/ByteString;)Z move-result p1 return p1 :cond_0 const-string p1, "prefix" invoke-static {p1}, Lt/u/b/j;->a(Ljava/lang/String;)V const/4 p1, 0x0 throw p1 .end method .method public final b()[B .locals 1 iget-object v0, p0, Lokio/ByteString;->data:[B return-object v0 .end method .method public final c()I .locals 1 iget v0, p0, Lokio/ByteString;->d:I return v0 .end method .method public final c(I)V .locals 0 iput p1, p0, Lokio/ByteString;->d:I return-void .end method .method public bridge synthetic compareTo(Ljava/lang/Object;)I .locals 0 check-cast p1, Lokio/ByteString; invoke-virtual {p0, p1}, Lokio/ByteString;->a(Lokio/ByteString;)I move-result p1 return p1 .end method .method public d()I .locals 1 invoke-static {p0}, Ly/y/a;->b(Lokio/ByteString;)I move-result v0 return v0 .end method .method public final e()Ljava/lang/String; .locals 1 iget-object v0, p0, Lokio/ByteString;->e:Ljava/lang/String; return-object v0 .end method .method public equals(Ljava/lang/Object;)Z .locals 0 invoke-static {p0, p1}, Ly/y/a;->a(Lokio/ByteString;Ljava/lang/Object;)Z move-result p1 return p1 .end method .method public f()Ljava/lang/String; .locals 1 invoke-static {p0}, Ly/y/a;->d(Lokio/ByteString;)Ljava/lang/String; move-result-object v0 return-object v0 .end method .method public g()[B .locals 1 invoke-static {p0}, Ly/y/a;->e(Lokio/ByteString;)[B move-result-object v0 return-object v0 .end method .method public h()Lokio/ByteString; .locals 1 const-string v0, "SHA-1" invoke-virtual {p0, v0}, Lokio/ByteString;->a(Ljava/lang/String;)Lokio/ByteString; move-result-object v0 return-object v0 .end method .method public hashCode()I .locals 1 invoke-static {p0}, Ly/y/a;->c(Lokio/ByteString;)I move-result v0 return v0 .end method .method public i()Lokio/ByteString; .locals 1 const-string v0, "SHA-256" invoke-virtual {p0, v0}, Lokio/ByteString;->a(Ljava/lang/String;)Lokio/ByteString; move-result-object v0 return-object v0 .end method .method public final j()I .locals 1 invoke-virtual {p0}, Lokio/ByteString;->d()I move-result v0 return v0 .end method .method public k()Lokio/ByteString; .locals 1 invoke-static {p0}, Ly/y/a;->f(Lokio/ByteString;)Lokio/ByteString; move-result-object v0 return-object v0 .end method .method public l()Ljava/lang/String; .locals 1 invoke-static {p0}, Ly/y/a;->h(Lokio/ByteString;)Ljava/lang/String; move-result-object v0 return-object v0 .end method .method public toString()Ljava/lang/String; .locals 1 invoke-static {p0}, Ly/y/a;->g(Lokio/ByteString;)Ljava/lang/String; move-result-object v0 return-object v0 .end method