u.smali

.class public Lsg/bigo/live/support64/proto/a/u;
.super Lsg/bigo/live/support64/proto/a/v;
.source "SourceFile"

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


# instance fields
.field public a:I


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

    .line 13
    invoke-direct {p0}, Lsg/bigo/live/support64/proto/a/v;-><init>()V

    return-void
.end method


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

    .line 24
    iget-wide v0, p0, Lsg/bigo/live/support64/proto/a/u;->b:J

    invoke-virtual {p1, v0, v1}, Ljava/nio/ByteBuffer;->putLong(J)Ljava/nio/ByteBuffer;

    .line 25
    iget v0, p0, Lsg/bigo/live/support64/proto/a/u;->a:I

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

    .line 26
    iget-object v0, p0, Lsg/bigo/live/support64/proto/a/u;->c:Ljava/util/HashMap;

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

    .line 19
    iget-object v0, p0, Lsg/bigo/live/support64/proto/a/u;->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, 0xc

    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 33
    :try_start_0
    invoke-virtual {p1}, Ljava/nio/ByteBuffer;->getLong()J

    move-result-wide v0

    iput-wide v0, p0, Lsg/bigo/live/support64/proto/a/u;->b:J

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

    move-result v0

    iput v0, p0, Lsg/bigo/live/support64/proto/a/u;->a:I

    .line 35
    iget-object v0, p0, Lsg/bigo/live/support64/proto/a/u;->c:Ljava/util/HashMap;

    const-class v1, Ljava/lang/Integer;

    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/lang/Exception; {:try_start_0 .. :try_end_15} :catch_15

    :catch_15
    return-void
.end method