af$a.smali
.class public Lsg/bigo/live/support64/proto/af$a;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lsg/bigo/svcapi/proto/Marshallable;
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Lsg/bigo/live/support64/proto/af;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x9
name = "a"
.end annotation
# instance fields
.field public a:Ljava/util/ArrayList;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/ArrayList<",
"Llive/sg/bigo/svcapi/e/a;",
">;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>()V
.registers 2
.line 119
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 120
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
iput-object v0, p0, Lsg/bigo/live/support64/proto/af$a;->a:Ljava/util/ArrayList;
return-void
.end method
# virtual methods
.method public marshall(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
.registers 4
.line 129
iget-object v0, p0, Lsg/bigo/live/support64/proto/af$a;->a:Ljava/util/ArrayList;
const-class v1, Llive/sg/bigo/svcapi/e/a;
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 size()I
.registers 2
.line 124
iget-object v0, p0, Lsg/bigo/live/support64/proto/af$a;->a:Ljava/util/ArrayList;
invoke-static {v0}, Lsg/bigo/svcapi/proto/ProtoHelper;->calcMarshallSize(Ljava/util/Collection;)I
move-result v0
return v0
.end method
.method public toString()Ljava/lang/String;
.registers 3
.line 144
new-instance v0, Ljava/lang/StringBuilder;
const-string v1, "IpInfos{values="
invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
iget-object v1, p0, Lsg/bigo/live/support64/proto/af$a;->a:Ljava/util/ArrayList;
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const/16 v1, 0x7d
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(C)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method
.method public unmarshall(Ljava/nio/ByteBuffer;)V
.registers 4
.annotation system Ldalvik/annotation/Throws;
value = {
Lsg/bigo/svcapi/proto/InvalidProtocolData;
}
.end annotation
.line 136
:try_start_0
iget-object v0, p0, Lsg/bigo/live/support64/proto/af$a;->a:Ljava/util/ArrayList;
const-class v1, Llive/sg/bigo/svcapi/e/a;
invoke-static {p1, v0, v1}, Lsg/bigo/svcapi/proto/ProtoHelper;->unMarshall(Ljava/nio/ByteBuffer;Ljava/util/Collection;Ljava/lang/Class;)V
:try_end_7
.catch Ljava/nio/BufferUnderflowException; {:try_start_0 .. :try_end_7} :catch_8
return-void
:catch_8
move-exception p1
.line 138
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