b$1.smali

.class final Lsg/bigo/b/d/a/a/b$1;
.super Ljava/io/ByteArrayOutputStream;
.source "SourceFile"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lsg/bigo/b/d/a/a/b;->a()Ljava/lang/String;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Lsg/bigo/b/d/a/a/b;


# direct methods
.method constructor <init>(Lsg/bigo/b/d/a/a/b;I)V
    .registers 3

    .line 86
    iput-object p1, p0, Lsg/bigo/b/d/a/a/b$1;->a:Lsg/bigo/b/d/a/a/b;

    invoke-direct {p0, p2}, Ljava/io/ByteArrayOutputStream;-><init>(I)V

    return-void
.end method


# virtual methods
.method public final toString()Ljava/lang/String;
    .registers 6

    .line 89
    iget v0, p0, Lsg/bigo/b/d/a/a/b$1;->count:I

    if-lez v0, :cond_15

    iget-object v0, p0, Lsg/bigo/b/d/a/a/b$1;->buf:[B

    iget v1, p0, Lsg/bigo/b/d/a/a/b$1;->count:I

    add-int/lit8 v1, v1, -0x1

    aget-byte v0, v0, v1

    const/16 v1, 0xd

    if-ne v0, v1, :cond_15

    iget v0, p0, Lsg/bigo/b/d/a/a/b$1;->count:I

    add-int/lit8 v0, v0, -0x1

    goto :goto_17

    :cond_15
    iget v0, p0, Lsg/bigo/b/d/a/a/b$1;->count:I

    .line 91
    :goto_17
    :try_start_17
    new-instance v1, Ljava/lang/String;

    iget-object v2, p0, Lsg/bigo/b/d/a/a/b$1;->buf:[B

    const/4 v3, 0x0

    iget-object v4, p0, Lsg/bigo/b/d/a/a/b$1;->a:Lsg/bigo/b/d/a/a/b;

    .line 1018
    iget-object v4, v4, Lsg/bigo/b/d/a/a/b;->a:Ljava/nio/charset/Charset;

    .line 91
    invoke-virtual {v4}, Ljava/nio/charset/Charset;->name()Ljava/lang/String;

    move-result-object v4

    invoke-direct {v1, v2, v3, v0, v4}, Ljava/lang/String;-><init>([BIILjava/lang/String;)V
    :try_end_27
    .catch Ljava/io/UnsupportedEncodingException; {:try_start_17 .. :try_end_27} :catch_28

    return-object v1

    :catch_28
    move-exception v0

    .line 93
    new-instance v1, Ljava/lang/AssertionError;

    invoke-direct {v1, v0}, Ljava/lang/AssertionError;-><init>(Ljava/lang/Object;)V

    throw v1
.end method