a.smali
.class public final Lsg/bigo/live/support64/bus/proto/a/a;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lsg/bigo/svcapi/IProtocol;
# static fields
.field public static a:I = 0x7e9a
# instance fields
.field public b:I
.field public c:J
.field public d:Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map<",
"Ljava/lang/String;",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
# direct methods
.method static constructor <clinit>()V
.registers 0
return-void
.end method
.method public constructor <init>()V
.registers 2
.line 23
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 28
new-instance v0, Ljava/util/HashMap;
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
iput-object v0, p0, Lsg/bigo/live/support64/bus/proto/a/a;->d:Ljava/util/Map;
return-void
.end method
# virtual methods
.method public final marshall(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
.registers 4
.line 58
iget v0, p0, Lsg/bigo/live/support64/bus/proto/a/a;->b:I
invoke-virtual {p1, v0}, Ljava/nio/ByteBuffer;->putInt(I)Ljava/nio/ByteBuffer;
.line 59
iget-wide v0, p0, Lsg/bigo/live/support64/bus/proto/a/a;->c:J
invoke-virtual {p1, v0, v1}, Ljava/nio/ByteBuffer;->putLong(J)Ljava/nio/ByteBuffer;
.line 60
iget-object v0, p0, Lsg/bigo/live/support64/bus/proto/a/a;->d:Ljava/util/Map;
const-class v1, Ljava/lang/String;
invoke-static {p1, v0, v1}, Lsg/bigo/svcapi/proto/ProtoHelper;->marshall(Ljava/nio/ByteBuffer;Ljava/util/Map;Ljava/lang/Class;)Ljava/nio/ByteBuffer;
return-object p1
.end method
.method public final seq()I
.registers 2
.line 33
iget v0, p0, Lsg/bigo/live/support64/bus/proto/a/a;->b:I
return v0
.end method
.method public final setSeq(I)V
.registers 2
.line 38
iput p1, p0, Lsg/bigo/live/support64/bus/proto/a/a;->b:I
return-void
.end method
.method public final size()I
.registers 2
.line 52
iget-object v0, p0, Lsg/bigo/live/support64/bus/proto/a/a;->d:Ljava/util/Map;
invoke-static {v0}, Lsg/bigo/svcapi/proto/ProtoHelper;->calcMarshallSize(Ljava/util/Map;)I
move-result v0
add-int/lit8 v0, v0, 0xc
return v0
.end method
.method public final unmarshall(Ljava/nio/ByteBuffer;)V
.registers 5
.annotation system Ldalvik/annotation/Throws;
value = {
Lsg/bigo/svcapi/proto/InvalidProtocolData;
}
.end annotation
.line 67
:try_start_0
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->getInt()I
move-result v0
iput v0, p0, Lsg/bigo/live/support64/bus/proto/a/a;->b:I
.line 68
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->getLong()J
move-result-wide v0
iput-wide v0, p0, Lsg/bigo/live/support64/bus/proto/a/a;->c:J
.line 69
iget-object v0, p0, Lsg/bigo/live/support64/bus/proto/a/a;->d:Ljava/util/Map;
const-class v1, Ljava/lang/String;
const-class v2, Ljava/lang/String;
invoke-static {p1, v0, v1, v2}, Lsg/bigo/svcapi/proto/ProtoHelper;->unMarshall(Ljava/nio/ByteBuffer;Ljava/util/Map;Ljava/lang/Class;Ljava/lang/Class;)V
:try_end_15
.catch Ljava/nio/BufferUnderflowException; {:try_start_0 .. :try_end_15} :catch_16
return-void
:catch_16
move-exception p1
.line 71
new-instance v0, Lsg/bigo/svcapi/proto/InvalidProtocolData;
invoke-direct {v0, p1}, Lsg/bigo/svcapi/proto/InvalidProtocolData;-><init>(Ljava/lang/Exception;)V
throw v0
.end method
.method public final uri()I
.registers 2
.line 43
sget v0, Lsg/bigo/live/support64/bus/proto/a/a;->a:I
return v0
.end method