b.smali

.class public final Lsg/bigo/live/support64/proto/b;
.super Lsg/bigo/live/support64/proto/ak;
.source "SourceFile"

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


# instance fields
.field public a:B

.field public b:I

.field public c:[B

.field public d:I


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

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

    return-void
.end method


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

    .line 25
    invoke-super {p0, p1}, Lsg/bigo/live/support64/proto/ak;->marshall(Ljava/nio/ByteBuffer;)Ljava/nio/ByteBuffer;

    .line 26
    iget-byte v0, p0, Lsg/bigo/live/support64/proto/b;->a:B

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

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

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

    .line 28
    iget-object v0, p0, Lsg/bigo/live/support64/proto/b;->c:[B

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

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

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

    return-object p1
.end method

.method public final seq()I
    .registers 2

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

    return v0
.end method

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

    .line 58
    iput p1, p0, Lsg/bigo/live/support64/proto/b;->j:I

    return-void
.end method

.method public final size()I
    .registers 3

    .line 20
    invoke-super {p0}, Lsg/bigo/live/support64/proto/ak;->size()I

    move-result v0

    add-int/lit8 v0, v0, 0x1

    add-int/lit8 v0, v0, 0x8

    iget-object v1, p0, Lsg/bigo/live/support64/proto/b;->c:[B

    invoke-static {v1}, Lsg/bigo/svcapi/proto/ProtoHelper;->calcMarshallSize([B)I

    move-result v1

    add-int/2addr v0, v1

    return 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 36
    :try_start_0
    invoke-super {p0, p1}, Lsg/bigo/live/support64/proto/ak;->unmarshall(Ljava/nio/ByteBuffer;)V

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

    move-result v0

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

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

    move-result v0

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

    .line 39
    invoke-static {p1}, Lsg/bigo/svcapi/proto/ProtoHelper;->unMarshallByteArray(Ljava/nio/ByteBuffer;)[B

    move-result-object v0

    iput-object v0, p0, Lsg/bigo/live/support64/proto/b;->c:[B

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

    move-result p1

    iput p1, p0, Lsg/bigo/live/support64/proto/b;->d:I
    :try_end_1b
    .catch Ljava/nio/BufferUnderflowException; {:try_start_0 .. :try_end_1b} :catch_1c

    return-void

    :catch_1c
    move-exception p1

    .line 42
    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, 0x688f

    return v0
.end method