b.smali

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

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


# instance fields
.field public a:I

.field public b:J

.field public c:I


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

    .line 11
    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 4

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

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

    .line 47
    iget-wide v0, p0, Lsg/bigo/live/support64/bus/proto/b;->b:J

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

    .line 48
    iget v0, p0, Lsg/bigo/live/support64/bus/proto/b;->c: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 28
    iget v0, p0, Lsg/bigo/live/support64/bus/proto/b;->a:I

    return v0
.end method

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

    .line 33
    iput p1, p0, Lsg/bigo/live/support64/bus/proto/b;->a:I

    return-void
.end method

.method public final size()I
    .registers 2

    const/16 v0, 0x10

    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 55
    :try_start_0
    invoke-virtual {p1}, Ljava/nio/ByteBuffer;->getInt()I

    move-result v0

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

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

    move-result-wide v0

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

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

    move-result p1

    iput p1, p0, Lsg/bigo/live/support64/bus/proto/b;->c:I
    :try_end_12
    .catch Ljava/nio/BufferUnderflowException; {:try_start_0 .. :try_end_12} :catch_13

    return-void

    :catch_13
    move-exception p1

    .line 59
    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

.method public final uri()I
    .registers 2

    const v0, 0x888f

    return v0
.end method