.class public final Landroidx/room/util/UUIDUtil; .super Ljava/lang/Object; .source "UUIDUtil.kt" # annotations .annotation runtime Lkotlin/Metadata; d1 = { "\u0000\u0010\n\u0000\n\u0002\u0018\u0002\n\u0000\n\u0002\u0010\u0012\n\u0002\u0008\u0003\u001a\u000e\u0010\u0000\u001a\u00020\u00012\u0006\u0010\u0002\u001a\u00020\u0003\u001a\u000e\u0010\u0004\u001a\u00020\u00032\u0006\u0010\u0005\u001a\u00020\u0001\u00a8\u0006\u0006" } d2 = { "convertByteToUUID", "Ljava/util/UUID;", "bytes", "", "convertUUIDToByte", "uuid", "room-runtime_release" } k = 0x2 mv = { 0x1, 0x7, 0x1 } xi = 0x30 .end annotation # direct methods .method public static final convertByteToUUID([B)Ljava/util/UUID; .locals 4 const-string v0, "bytes" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V .line 38 invoke-static {p0}, Ljava/nio/ByteBuffer;->wrap([B)Ljava/nio/ByteBuffer; move-result-object p0 .line 39 invoke-virtual {p0}, Ljava/nio/ByteBuffer;->getLong()J move-result-wide v0 .line 40 invoke-virtual {p0}, Ljava/nio/ByteBuffer;->getLong()J move-result-wide v2 .line 41 new-instance p0, Ljava/util/UUID; invoke-direct {p0, v0, v1, v2, v3}, Ljava/util/UUID;->(JJ)V return-object p0 .end method .method public static final convertUUIDToByte(Ljava/util/UUID;)[B .locals 3 const-string v0, "uuid" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V const/16 v0, 0x10 new-array v0, v0, [B .line 52 invoke-static {v0}, Ljava/nio/ByteBuffer;->wrap([B)Ljava/nio/ByteBuffer; move-result-object v0 .line 53 invoke-virtual {p0}, Ljava/util/UUID;->getMostSignificantBits()J move-result-wide v1 invoke-virtual {v0, v1, v2}, Ljava/nio/ByteBuffer;->putLong(J)Ljava/nio/ByteBuffer; .line 54 invoke-virtual {p0}, Ljava/util/UUID;->getLeastSignificantBits()J move-result-wide v1 invoke-virtual {v0, v1, v2}, Ljava/nio/ByteBuffer;->putLong(J)Ljava/nio/ByteBuffer; .line 55 invoke-virtual {v0}, Ljava/nio/ByteBuffer;->array()[B move-result-object p0 const-string v0, "buffer.array()" invoke-static {p0, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullExpressionValue(Ljava/lang/Object;Ljava/lang/String;)V return-object p0 .end method