r.smali
.class public final Lsg/bigo/sdk/network/f/c/r;
.super Ljava/lang/Object;
.source "SourceFile"
# interfaces
.implements Lsg/bigo/svcapi/proto/Marshallable;
# instance fields
.field public a:[B
.field public b:I
# direct methods
.method public constructor <init>()V
.registers 1
.line 10
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
.method public final marshall(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;
.registers 2
.line 22
new-instance p1, Ljava/lang/UnsupportedOperationException;
invoke-direct {p1}, Ljava/lang/UnsupportedOperationException;-><init>()V
throw p1
.end method
.method public final size()I
.registers 2
.line 17
new-instance v0, Ljava/lang/UnsupportedOperationException;
invoke-direct {v0}, Ljava/lang/UnsupportedOperationException;-><init>()V
throw v0
.end method
.method public final unmarshall(Ljava/nio/ByteBuffer;)V
.registers 3
.annotation system Ldalvik/annotation/Throws;
value = {
Lsg/bigo/svcapi/proto/InvalidProtocolData;
}
.end annotation
.line 28
:try_start_0
invoke-static {p1}, Lsg/bigo/svcapi/proto/ProtoHelper;->unMarshallByteArray(Ljava/nio/ByteBuffer;)[B
move-result-object v0
iput-object v0, p0, Lsg/bigo/sdk/network/f/c/r;->a:[B
.line 29
invoke-virtual {p1}, Ljava/nio/ByteBuffer;->getInt()I
move-result p1
iput p1, p0, Lsg/bigo/sdk/network/f/c/r;->b:I
:try_end_c
.catch Ljava/nio/BufferUnderflowException; {:try_start_0 .. :try_end_c} :catch_d
return-void
:catch_d
move-exception p1
.line 31
new-instance v0, Lsg/bigo/svcapi/proto/InvalidProtocolData;
invoke-direct {v0, p1}, Lsg/bigo/svcapi/proto/InvalidProtocolData;-><init>(Ljava/lang/Exception;)V
throw v0
.end method