.class public Lcom/badlogic/gdx/utils/StreamUtils$OptimizedByteArrayOutputStream; .super Ljava/io/ByteArrayOutputStream; .source "StreamUtils.java" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/badlogic/gdx/utils/StreamUtils; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x9 name = "OptimizedByteArrayOutputStream" .end annotation # direct methods .method public constructor (I)V .locals 0 .line 133 invoke-direct {p0, p1}, Ljava/io/ByteArrayOutputStream;->(I)V return-void .end method # virtual methods .method public declared-synchronized toByteArray()[B .locals 2 monitor-enter p0 .line 138 :try_start_0 iget v0, p0, Lcom/badlogic/gdx/utils/StreamUtils$OptimizedByteArrayOutputStream;->count:I iget-object v1, p0, Lcom/badlogic/gdx/utils/StreamUtils$OptimizedByteArrayOutputStream;->buf:[B array-length v1, v1 if-ne v0, v1, :cond_0 iget-object v0, p0, Lcom/badlogic/gdx/utils/StreamUtils$OptimizedByteArrayOutputStream;->buf:[B :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 monitor-exit p0 return-object v0 .line 139 :cond_0 :try_start_1 invoke-super {p0}, Ljava/io/ByteArrayOutputStream;->toByteArray()[B move-result-object v0 :try_end_1 .catchall {:try_start_1 .. :try_end_1} :catchall_0 monitor-exit p0 return-object v0 :catchall_0 move-exception v0 .line 137 monitor-exit p0 throw v0 .end method