ae.smali

.class public final Lsg/bigo/live/support64/proto/ae;
.super Ljava/lang/Object;
.source "SourceFile"

# interfaces
.implements Lsg/bigo/svcapi/IProtocol;


# instance fields
.field public a:I

.field public b:I
    .annotation runtime Ljava/lang/Deprecated;
    .end annotation
.end field

.field public c:S

.field public d:I

.field public e:B

.field public f:I

.field public g:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Ljava/lang/Integer;",
            ">;"
        }
    .end annotation

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

.field public h:Ljava/lang/String;

.field public i:I

.field public j:J

.field public k:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List<",
            "Ljava/lang/Long;",
            ">;"
        }
    .end annotation
.end field


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

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

    const/4 v0, 0x3

    .line 31
    iput-byte v0, p0, Lsg/bigo/live/support64/proto/ae;->e:B

    .line 34
    new-instance v0, Ljava/util/ArrayList;

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

    iput-object v0, p0, Lsg/bigo/live/support64/proto/ae;->g:Ljava/util/List;

    const/4 v0, 0x5

    .line 38
    iput v0, p0, Lsg/bigo/live/support64/proto/ae;->i:I

    .line 41
    new-instance v0, Ljava/util/ArrayList;

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

    iput-object v0, p0, Lsg/bigo/live/support64/proto/ae;->k:Ljava/util/List;

    return-void
.end method


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

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

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

    .line 51
    iget v0, p0, Lsg/bigo/live/support64/proto/ae;->b:I

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

    .line 52
    iget-short v0, p0, Lsg/bigo/live/support64/proto/ae;->c:S

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

    .line 53
    iget v0, p0, Lsg/bigo/live/support64/proto/ae;->d:I

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

    .line 54
    iget-byte v0, p0, Lsg/bigo/live/support64/proto/ae;->e:B

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

    .line 55
    iget v0, p0, Lsg/bigo/live/support64/proto/ae;->f:I

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

    .line 56
    iget-object v0, p0, Lsg/bigo/live/support64/proto/ae;->g:Ljava/util/List;

    const-class v1, Ljava/lang/Integer;

    invoke-static {p1, v0, v1}, Lsg/bigo/svcapi/proto/ProtoHelper;->marshall(Ljava/nio/ByteBuffer;Ljava/util/Collection;Ljava/lang/Class;)Ljava/nio/ByteBuffer;

    .line 57
    iget-object v0, p0, Lsg/bigo/live/support64/proto/ae;->h:Ljava/lang/String;

    invoke-static {p1, v0}, Lsg/bigo/svcapi/proto/ProtoHelper;->marshall(Ljava/nio/ByteBuffer;Ljava/lang/String;)V

    .line 58
    iget v0, p0, Lsg/bigo/live/support64/proto/ae;->i:I

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

    .line 59
    iget-wide v0, p0, Lsg/bigo/live/support64/proto/ae;->j:J

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

    .line 60
    iget-object v0, p0, Lsg/bigo/live/support64/proto/ae;->k:Ljava/util/List;

    const-class v1, Ljava/lang/Long;

    invoke-static {p1, v0, v1}, Lsg/bigo/svcapi/proto/ProtoHelper;->marshall(Ljava/nio/ByteBuffer;Ljava/util/Collection;Ljava/lang/Class;)Ljava/nio/ByteBuffer;

    return-object p1
.end method

.method public final seq()I
    .registers 2

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

    return v0
.end method

.method public final setSeq(I)V
    .registers 2

    .line 101
    iput p1, p0, Lsg/bigo/live/support64/proto/ae;->a:I

    return-void
.end method

.method public final size()I
    .registers 3

    .line 45
    iget-object v0, p0, Lsg/bigo/live/support64/proto/ae;->g:Ljava/util/List;

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

    move-result v0

    add-int/lit8 v0, v0, 0x17

    iget-object v1, p0, Lsg/bigo/live/support64/proto/ae;->h:Ljava/lang/String;

    invoke-static {v1}, Lsg/bigo/svcapi/proto/ProtoHelper;->calcMarshallSize(Ljava/lang/String;)I

    move-result v1

    add-int/2addr v0, v1

    add-int/lit8 v0, v0, 0x8

    iget-object v1, p0, Lsg/bigo/live/support64/proto/ae;->k:Ljava/util/List;

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

    move-result v1

    add-int/2addr v0, v1

    return v0
.end method

.method public final unmarshall(Ljava/nio/ByteBuffer;)V
    .registers 4
    .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/proto/ae;->a:I

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

    move-result v0

    iput v0, p0, Lsg/bigo/live/support64/proto/ae;->b:I

    .line 69
    invoke-virtual {p1}, Ljava/nio/ByteBuffer;->getShort()S

    move-result v0

    iput-short v0, p0, Lsg/bigo/live/support64/proto/ae;->c:S

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

    move-result v0

    iput v0, p0, Lsg/bigo/live/support64/proto/ae;->d:I

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

    move-result v0

    iput-byte v0, p0, Lsg/bigo/live/support64/proto/ae;->e:B

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

    move-result v0

    iput v0, p0, Lsg/bigo/live/support64/proto/ae;->f:I

    .line 73
    iget-object v0, p0, Lsg/bigo/live/support64/proto/ae;->g:Ljava/util/List;

    const-class v1, Ljava/lang/Integer;

    invoke-static {p1, v0, v1}, Lsg/bigo/svcapi/proto/ProtoHelper;->unMarshall(Ljava/nio/ByteBuffer;Ljava/util/Collection;Ljava/lang/Class;)V

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

    move-result v0

    if-lez v0, :cond_37

    .line 75
    invoke-static {p1}, Lsg/bigo/svcapi/proto/ProtoHelper;->unMarshallShortString(Ljava/nio/ByteBuffer;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lsg/bigo/live/support64/proto/ae;->h:Ljava/lang/String;

    .line 77
    :cond_37
    invoke-virtual {p1}, Ljava/nio/ByteBuffer;->remaining()I

    move-result v0

    if-lez v0, :cond_43

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

    move-result v0

    iput v0, p0, Lsg/bigo/live/support64/proto/ae;->i:I

    .line 80
    :cond_43
    invoke-virtual {p1}, Ljava/nio/ByteBuffer;->remaining()I

    move-result v0

    if-lez v0, :cond_56

    .line 81
    invoke-virtual {p1}, Ljava/nio/ByteBuffer;->getLong()J

    move-result-wide v0

    iput-wide v0, p0, Lsg/bigo/live/support64/proto/ae;->j:J

    .line 82
    iget-object v0, p0, Lsg/bigo/live/support64/proto/ae;->k:Ljava/util/List;

    const-class v1, Ljava/lang/Long;

    invoke-static {p1, v0, v1}, Lsg/bigo/svcapi/proto/ProtoHelper;->unMarshall(Ljava/nio/ByteBuffer;Ljava/util/Collection;Ljava/lang/Class;)V
    :try_end_56
    .catch Ljava/nio/BufferUnderflowException; {:try_start_0 .. :try_end_56} :catch_57

    :cond_56
    return-void

    :catch_57
    move-exception p1

    .line 85
    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, 0x30c8

    return v0
.end method