i.smali
.class public final Lsg/bigo/live/support64/proto/i;
.super Lsg/bigo/live/support64/proto/ak;
.source "SourceFile"
# interfaces
.implements Lsg/bigo/svcapi/IProtocol;
# instance fields
.field public a:B
.field public b:Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map<",
"Ljava/lang/Short;",
"Ljava/lang/String;",
">;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>()V
.registers 2
.line 12
invoke-direct {p0}, Lsg/bigo/live/support64/proto/ak;-><init>()V
.line 17
new-instance v0, Ljava/util/HashMap;
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
iput-object v0, p0, Lsg/bigo/live/support64/proto/i;->b:Ljava/util/Map;
return-void
.end method
# virtual methods
.method public final marshall(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
.registers 4
.line 42
invoke-super {p0, p1}, Lsg/bigo/live/support64/proto/ak;->marshall(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
.line 43
iget-byte v0, p0, Lsg/bigo/live/support64/proto/i;->a:B
invoke-virtual {p1, v0}, Ljava/nio/ByteBuffer;->put(B)Ljava/nio/ByteBuffer;
.line 44
iget-object v0, p0, Lsg/bigo/live/support64/proto/i;->b: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 27
iget v0, p0, Lsg/bigo/live/support64/proto/i;->j:I
return v0
.end method
.method public final setSeq(I)V
.registers 2
.line 32
iput p1, p0, Lsg/bigo/live/support64/proto/i;->j:I
return-void
.end method
.method public final size()I
.registers 3
.line 37
invoke-super {p0}, Lsg/bigo/live/support64/proto/ak;->size()I
move-result v0
iget-object v1, p0, Lsg/bigo/live/support64/proto/i;->b:Ljava/util/Map;
invoke-static {v1}, Lsg/bigo/svcapi/proto/ProtoHelper;->calcMarshallSize(Ljava/util/Map;)I
move-result v1
add-int/2addr v0, v1
add-int/lit8 v0, v0, 0x1
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 51
:try_start_0
invoke-super {p0, p1}, Lsg/bigo/live/support64/proto/ak;->unmarshall(Ljava/nio/ByteBuffer;)V
.line 52
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->get()B
move-result v0
iput-byte v0, p0, Lsg/bigo/live/support64/proto/i;->a:B
.line 53
iget-object v0, p0, Lsg/bigo/live/support64/proto/i;->b:Ljava/util/Map;
const-class v1, Ljava/lang/Short;
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_12
.catch Ljava/nio/BufferUnderflowException; {:try_start_0 .. :try_end_12} :catch_13
return-void
:catch_13
move-exception p1
.line 55
new-instance v0, Lsg/bigo/svcapi/proto/InvalidProtocolData;
invoke-direct {v0, p1}, Lsg/bigo/svcapi/proto/InvalidProtocolData;-><init>(Ljava/nio/BufferUnderflowException;)V
throw v0
.end method
.method public final uri()I
.registers 2
const/16 v0, 0x708f
return v0
.end method