w.smali
.class public Lsg/bigo/live/support64/proto/a/w;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lsg/bigo/svcapi/proto/Marshallable;
# instance fields
.field public a:Ljava/util/List;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/List<",
"Lsg/bigo/live/support64/proto/a/u;",
">;"
}
.end annotation
.end field
# direct methods
.method public constructor <init>()V
.registers 2
.line 11
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 12
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
iput-object v0, p0, Lsg/bigo/live/support64/proto/a/w;->a:Ljava/util/List;
return-void
.end method
# virtual methods
.method public marshall(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
.registers 4
.line 21
iget-object v0, p0, Lsg/bigo/live/support64/proto/a/w;->a:Ljava/util/List;
const-class v1, Lsg/bigo/live/support64/proto/a/u;
invoke-static {p1, v0, v1}, Lsg/bigo/svcapi/proto/ProtoHelper;->marshall(Ljava/nio/ByteBuffer;Ljava/util/Collection;Ljava/lang/Class;)Ljava/nio/ByteBuffer;
move-result-object p1
return-object p1
.end method
.method public size()I
.registers 2
.line 16
iget-object v0, p0, Lsg/bigo/live/support64/proto/a/w;->a:Ljava/util/List;
invoke-static {v0}, Lsg/bigo/svcapi/proto/ProtoHelper;->calcMarshallSize(Ljava/util/Collection;)I
move-result v0
return 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 26
iget-object v0, p0, Lsg/bigo/live/support64/proto/a/w;->a:Ljava/util/List;
const-class v1, Lsg/bigo/live/support64/proto/a/u;
invoke-static {p1, v0, v1}, Lsg/bigo/svcapi/proto/ProtoHelper;->unMarshall(Ljava/nio/ByteBuffer;Ljava/util/Collection;Ljava/lang/Class;)V
return-void
.end method