mirror of
https://github.com/Pinball3D/Rabbit-R1.git
synced 2025-01-09 13:43:22 +00:00
394 lines
9.4 KiB
Smali
394 lines
9.4 KiB
Smali
.class Lcom/google/common/io/ByteStreams$ByteArrayDataOutputStream;
|
|
.super Ljava/lang/Object;
|
|
.source "ByteStreams.java"
|
|
|
|
# interfaces
|
|
.implements Lcom/google/common/io/ByteArrayDataOutput;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/google/common/io/ByteStreams;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0xa
|
|
name = "ByteArrayDataOutputStream"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final byteArrayOutputStream:Ljava/io/ByteArrayOutputStream;
|
|
|
|
.field final output:Ljava/io/DataOutput;
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Ljava/io/ByteArrayOutputStream;)V
|
|
.locals 1
|
|
|
|
.line 521
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lcom/google/common/io/ByteStreams$ByteArrayDataOutputStream;->byteArrayOutputStream:Ljava/io/ByteArrayOutputStream;
|
|
|
|
.line 523
|
|
new-instance v0, Ljava/io/DataOutputStream;
|
|
|
|
invoke-direct {v0, p1}, Ljava/io/DataOutputStream;-><init>(Ljava/io/OutputStream;)V
|
|
|
|
iput-object v0, p0, Lcom/google/common/io/ByteStreams$ByteArrayDataOutputStream;->output:Ljava/io/DataOutput;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public toByteArray()[B
|
|
.locals 0
|
|
|
|
iget-object p0, p0, Lcom/google/common/io/ByteStreams$ByteArrayDataOutputStream;->byteArrayOutputStream:Ljava/io/ByteArrayOutputStream;
|
|
|
|
.line 654
|
|
invoke-virtual {p0}, Ljava/io/ByteArrayOutputStream;->toByteArray()[B
|
|
|
|
move-result-object p0
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public write(I)V
|
|
.locals 0
|
|
|
|
:try_start_0
|
|
iget-object p0, p0, Lcom/google/common/io/ByteStreams$ByteArrayDataOutputStream;->output:Ljava/io/DataOutput;
|
|
|
|
.line 529
|
|
invoke-interface {p0, p1}, Ljava/io/DataOutput;->write(I)V
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
.line 531
|
|
new-instance p1, Ljava/lang/AssertionError;
|
|
|
|
invoke-direct {p1, p0}, Ljava/lang/AssertionError;-><init>(Ljava/lang/Object;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public write([B)V
|
|
.locals 0
|
|
|
|
:try_start_0
|
|
iget-object p0, p0, Lcom/google/common/io/ByteStreams$ByteArrayDataOutputStream;->output:Ljava/io/DataOutput;
|
|
|
|
.line 538
|
|
invoke-interface {p0, p1}, Ljava/io/DataOutput;->write([B)V
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
.line 540
|
|
new-instance p1, Ljava/lang/AssertionError;
|
|
|
|
invoke-direct {p1, p0}, Ljava/lang/AssertionError;-><init>(Ljava/lang/Object;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public write([BII)V
|
|
.locals 0
|
|
|
|
:try_start_0
|
|
iget-object p0, p0, Lcom/google/common/io/ByteStreams$ByteArrayDataOutputStream;->output:Ljava/io/DataOutput;
|
|
|
|
.line 547
|
|
invoke-interface {p0, p1, p2, p3}, Ljava/io/DataOutput;->write([BII)V
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
.line 549
|
|
new-instance p1, Ljava/lang/AssertionError;
|
|
|
|
invoke-direct {p1, p0}, Ljava/lang/AssertionError;-><init>(Ljava/lang/Object;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public writeBoolean(Z)V
|
|
.locals 0
|
|
|
|
:try_start_0
|
|
iget-object p0, p0, Lcom/google/common/io/ByteStreams$ByteArrayDataOutputStream;->output:Ljava/io/DataOutput;
|
|
|
|
.line 556
|
|
invoke-interface {p0, p1}, Ljava/io/DataOutput;->writeBoolean(Z)V
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
.line 558
|
|
new-instance p1, Ljava/lang/AssertionError;
|
|
|
|
invoke-direct {p1, p0}, Ljava/lang/AssertionError;-><init>(Ljava/lang/Object;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public writeByte(I)V
|
|
.locals 0
|
|
|
|
:try_start_0
|
|
iget-object p0, p0, Lcom/google/common/io/ByteStreams$ByteArrayDataOutputStream;->output:Ljava/io/DataOutput;
|
|
|
|
.line 565
|
|
invoke-interface {p0, p1}, Ljava/io/DataOutput;->writeByte(I)V
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
.line 567
|
|
new-instance p1, Ljava/lang/AssertionError;
|
|
|
|
invoke-direct {p1, p0}, Ljava/lang/AssertionError;-><init>(Ljava/lang/Object;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public writeBytes(Ljava/lang/String;)V
|
|
.locals 0
|
|
|
|
:try_start_0
|
|
iget-object p0, p0, Lcom/google/common/io/ByteStreams$ByteArrayDataOutputStream;->output:Ljava/io/DataOutput;
|
|
|
|
.line 574
|
|
invoke-interface {p0, p1}, Ljava/io/DataOutput;->writeBytes(Ljava/lang/String;)V
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
.line 576
|
|
new-instance p1, Ljava/lang/AssertionError;
|
|
|
|
invoke-direct {p1, p0}, Ljava/lang/AssertionError;-><init>(Ljava/lang/Object;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public writeChar(I)V
|
|
.locals 0
|
|
|
|
:try_start_0
|
|
iget-object p0, p0, Lcom/google/common/io/ByteStreams$ByteArrayDataOutputStream;->output:Ljava/io/DataOutput;
|
|
|
|
.line 583
|
|
invoke-interface {p0, p1}, Ljava/io/DataOutput;->writeChar(I)V
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
.line 585
|
|
new-instance p1, Ljava/lang/AssertionError;
|
|
|
|
invoke-direct {p1, p0}, Ljava/lang/AssertionError;-><init>(Ljava/lang/Object;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public writeChars(Ljava/lang/String;)V
|
|
.locals 0
|
|
|
|
:try_start_0
|
|
iget-object p0, p0, Lcom/google/common/io/ByteStreams$ByteArrayDataOutputStream;->output:Ljava/io/DataOutput;
|
|
|
|
.line 592
|
|
invoke-interface {p0, p1}, Ljava/io/DataOutput;->writeChars(Ljava/lang/String;)V
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
.line 594
|
|
new-instance p1, Ljava/lang/AssertionError;
|
|
|
|
invoke-direct {p1, p0}, Ljava/lang/AssertionError;-><init>(Ljava/lang/Object;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public writeDouble(D)V
|
|
.locals 0
|
|
|
|
:try_start_0
|
|
iget-object p0, p0, Lcom/google/common/io/ByteStreams$ByteArrayDataOutputStream;->output:Ljava/io/DataOutput;
|
|
|
|
.line 601
|
|
invoke-interface {p0, p1, p2}, Ljava/io/DataOutput;->writeDouble(D)V
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
.line 603
|
|
new-instance p1, Ljava/lang/AssertionError;
|
|
|
|
invoke-direct {p1, p0}, Ljava/lang/AssertionError;-><init>(Ljava/lang/Object;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public writeFloat(F)V
|
|
.locals 0
|
|
|
|
:try_start_0
|
|
iget-object p0, p0, Lcom/google/common/io/ByteStreams$ByteArrayDataOutputStream;->output:Ljava/io/DataOutput;
|
|
|
|
.line 610
|
|
invoke-interface {p0, p1}, Ljava/io/DataOutput;->writeFloat(F)V
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
.line 612
|
|
new-instance p1, Ljava/lang/AssertionError;
|
|
|
|
invoke-direct {p1, p0}, Ljava/lang/AssertionError;-><init>(Ljava/lang/Object;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public writeInt(I)V
|
|
.locals 0
|
|
|
|
:try_start_0
|
|
iget-object p0, p0, Lcom/google/common/io/ByteStreams$ByteArrayDataOutputStream;->output:Ljava/io/DataOutput;
|
|
|
|
.line 619
|
|
invoke-interface {p0, p1}, Ljava/io/DataOutput;->writeInt(I)V
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
.line 621
|
|
new-instance p1, Ljava/lang/AssertionError;
|
|
|
|
invoke-direct {p1, p0}, Ljava/lang/AssertionError;-><init>(Ljava/lang/Object;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public writeLong(J)V
|
|
.locals 0
|
|
|
|
:try_start_0
|
|
iget-object p0, p0, Lcom/google/common/io/ByteStreams$ByteArrayDataOutputStream;->output:Ljava/io/DataOutput;
|
|
|
|
.line 628
|
|
invoke-interface {p0, p1, p2}, Ljava/io/DataOutput;->writeLong(J)V
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
.line 630
|
|
new-instance p1, Ljava/lang/AssertionError;
|
|
|
|
invoke-direct {p1, p0}, Ljava/lang/AssertionError;-><init>(Ljava/lang/Object;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public writeShort(I)V
|
|
.locals 0
|
|
|
|
:try_start_0
|
|
iget-object p0, p0, Lcom/google/common/io/ByteStreams$ByteArrayDataOutputStream;->output:Ljava/io/DataOutput;
|
|
|
|
.line 637
|
|
invoke-interface {p0, p1}, Ljava/io/DataOutput;->writeShort(I)V
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
.line 639
|
|
new-instance p1, Ljava/lang/AssertionError;
|
|
|
|
invoke-direct {p1, p0}, Ljava/lang/AssertionError;-><init>(Ljava/lang/Object;)V
|
|
|
|
throw p1
|
|
.end method
|
|
|
|
.method public writeUTF(Ljava/lang/String;)V
|
|
.locals 0
|
|
|
|
:try_start_0
|
|
iget-object p0, p0, Lcom/google/common/io/ByteStreams$ByteArrayDataOutputStream;->output:Ljava/io/DataOutput;
|
|
|
|
.line 646
|
|
invoke-interface {p0, p1}, Ljava/io/DataOutput;->writeUTF(Ljava/lang/String;)V
|
|
:try_end_0
|
|
.catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-void
|
|
|
|
:catch_0
|
|
move-exception p0
|
|
|
|
.line 648
|
|
new-instance p1, Ljava/lang/AssertionError;
|
|
|
|
invoke-direct {p1, p0}, Ljava/lang/AssertionError;-><init>(Ljava/lang/Object;)V
|
|
|
|
throw p1
|
|
.end method
|