e$c.smali

.class public Lsg/bigo/sdk/network/f/e/e$c;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Lsg/bigo/svcapi/proto/Marshallable;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lsg/bigo/sdk/network/f/e/e;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x9
    name = "c"
.end annotation

.annotation runtime Ljava/lang/Deprecated;
.end annotation


# instance fields
.field public a:B

.field public b:I

.field public c:Ljava/util/HashMap;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/HashMap<",
            "Ljava/lang/Integer;",
            "Lsg/bigo/sdk/network/f/e/e$a;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>()V
    .registers 2

    .line 154
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 158
    new-instance v0, Ljava/util/HashMap;

    invoke-direct {v0}, Ljava/util/HashMap;-><init>()V

    iput-object v0, p0, Lsg/bigo/sdk/network/f/e/e$c;->c:Ljava/util/HashMap;

    return-void
.end method


# virtual methods
.method public marshall(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
    .registers 4

    .line 167
    iget-byte v0, p0, Lsg/bigo/sdk/network/f/e/e$c;->a:B

    invoke-virtual {p1, v0}, Ljava/nio/ByteBuffer;->put(B)Ljava/nio/ByteBuffer;

    .line 168
    iget v0, p0, Lsg/bigo/sdk/network/f/e/e$c;->b:I

    invoke-virtual {p1, v0}, Ljava/nio/ByteBuffer;->putInt(I)Ljava/nio/ByteBuffer;

    .line 169
    iget-object v0, p0, Lsg/bigo/sdk/network/f/e/e$c;->c:Ljava/util/HashMap;

    const-class v1, Lsg/bigo/sdk/network/f/e/e$a;

    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 size()I
    .registers 2

    .line 162
    iget-object v0, p0, Lsg/bigo/sdk/network/f/e/e$c;->c:Ljava/util/HashMap;

    invoke-static {v0}, Lsg/bigo/svcapi/proto/ProtoHelper;->calcMarshallSize(Ljava/util/Map;)I

    move-result v0

    add-int/lit8 v0, v0, 0x5

    return v0
.end method

.method public unmarshall(Ljava/nio/ByteBuffer;)V
    .registers 5
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Lsg/bigo/svcapi/proto/InvalidProtocolData;
        }
    .end annotation

    .line 175
    invoke-virtual {p1}, Ljava/nio/ByteBuffer;->get()B

    move-result v0

    iput-byte v0, p0, Lsg/bigo/sdk/network/f/e/e$c;->a:B

    .line 176
    invoke-virtual {p1}, Ljava/nio/ByteBuffer;->getInt()I

    move-result v0

    iput v0, p0, Lsg/bigo/sdk/network/f/e/e$c;->b:I

    .line 177
    iget-object v0, p0, Lsg/bigo/sdk/network/f/e/e$c;->c:Ljava/util/HashMap;

    const-class v1, Ljava/lang/Integer;

    const-class v2, Lsg/bigo/sdk/network/f/e/e$a;

    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

    return-void
.end method