.class Lcom/google/common/io/ByteStreams$ByteArrayDataInputStream; .super Ljava/lang/Object; .source "ByteStreams.java" # interfaces .implements Lcom/google/common/io/ByteArrayDataInput; # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Lcom/google/common/io/ByteStreams; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0xa name = "ByteArrayDataInputStream" .end annotation # instance fields .field final input:Ljava/io/DataInput; # direct methods .method constructor (Ljava/io/ByteArrayInputStream;)V .locals 1 .line 334 invoke-direct {p0}, Ljava/lang/Object;->()V .line 335 new-instance v0, Ljava/io/DataInputStream; invoke-direct {v0, p1}, Ljava/io/DataInputStream;->(Ljava/io/InputStream;)V iput-object v0, p0, Lcom/google/common/io/ByteStreams$ByteArrayDataInputStream;->input:Ljava/io/DataInput; return-void .end method # virtual methods .method public readBoolean()Z .locals 1 :try_start_0 iget-object p0, p0, Lcom/google/common/io/ByteStreams$ByteArrayDataInputStream;->input:Ljava/io/DataInput; .line 368 invoke-interface {p0}, Ljava/io/DataInput;->readBoolean()Z move-result p0 :try_end_0 .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0 return p0 :catch_0 move-exception p0 .line 370 new-instance v0, Ljava/lang/IllegalStateException; invoke-direct {v0, p0}, Ljava/lang/IllegalStateException;->(Ljava/lang/Throwable;)V throw v0 .end method .method public readByte()B .locals 1 :try_start_0 iget-object p0, p0, Lcom/google/common/io/ByteStreams$ByteArrayDataInputStream;->input:Ljava/io/DataInput; .line 377 invoke-interface {p0}, Ljava/io/DataInput;->readByte()B move-result p0 :try_end_0 .catch Ljava/io/EOFException; {:try_start_0 .. :try_end_0} :catch_1 .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0 return p0 :catch_0 move-exception p0 .line 381 new-instance v0, Ljava/lang/AssertionError; invoke-direct {v0, p0}, Ljava/lang/AssertionError;->(Ljava/lang/Object;)V throw v0 :catch_1 move-exception p0 .line 379 new-instance v0, Ljava/lang/IllegalStateException; invoke-direct {v0, p0}, Ljava/lang/IllegalStateException;->(Ljava/lang/Throwable;)V throw v0 .end method .method public readChar()C .locals 1 :try_start_0 iget-object p0, p0, Lcom/google/common/io/ByteStreams$ByteArrayDataInputStream;->input:Ljava/io/DataInput; .line 415 invoke-interface {p0}, Ljava/io/DataInput;->readChar()C move-result p0 :try_end_0 .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0 return p0 :catch_0 move-exception p0 .line 417 new-instance v0, Ljava/lang/IllegalStateException; invoke-direct {v0, p0}, Ljava/lang/IllegalStateException;->(Ljava/lang/Throwable;)V throw v0 .end method .method public readDouble()D .locals 2 :try_start_0 iget-object p0, p0, Lcom/google/common/io/ByteStreams$ByteArrayDataInputStream;->input:Ljava/io/DataInput; .line 451 invoke-interface {p0}, Ljava/io/DataInput;->readDouble()D move-result-wide v0 :try_end_0 .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0 return-wide v0 :catch_0 move-exception p0 .line 453 new-instance v0, Ljava/lang/IllegalStateException; invoke-direct {v0, p0}, Ljava/lang/IllegalStateException;->(Ljava/lang/Throwable;)V throw v0 .end method .method public readFloat()F .locals 1 :try_start_0 iget-object p0, p0, Lcom/google/common/io/ByteStreams$ByteArrayDataInputStream;->input:Ljava/io/DataInput; .line 442 invoke-interface {p0}, Ljava/io/DataInput;->readFloat()F move-result p0 :try_end_0 .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0 return p0 :catch_0 move-exception p0 .line 444 new-instance v0, Ljava/lang/IllegalStateException; invoke-direct {v0, p0}, Ljava/lang/IllegalStateException;->(Ljava/lang/Throwable;)V throw v0 .end method .method public readFully([B)V .locals 0 :try_start_0 iget-object p0, p0, Lcom/google/common/io/ByteStreams$ByteArrayDataInputStream;->input:Ljava/io/DataInput; .line 341 invoke-interface {p0, p1}, Ljava/io/DataInput;->readFully([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 343 new-instance p1, Ljava/lang/IllegalStateException; invoke-direct {p1, p0}, Ljava/lang/IllegalStateException;->(Ljava/lang/Throwable;)V throw p1 .end method .method public readFully([BII)V .locals 0 :try_start_0 iget-object p0, p0, Lcom/google/common/io/ByteStreams$ByteArrayDataInputStream;->input:Ljava/io/DataInput; .line 350 invoke-interface {p0, p1, p2, p3}, Ljava/io/DataInput;->readFully([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 352 new-instance p1, Ljava/lang/IllegalStateException; invoke-direct {p1, p0}, Ljava/lang/IllegalStateException;->(Ljava/lang/Throwable;)V throw p1 .end method .method public readInt()I .locals 1 :try_start_0 iget-object p0, p0, Lcom/google/common/io/ByteStreams$ByteArrayDataInputStream;->input:Ljava/io/DataInput; .line 424 invoke-interface {p0}, Ljava/io/DataInput;->readInt()I move-result p0 :try_end_0 .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0 return p0 :catch_0 move-exception p0 .line 426 new-instance v0, Ljava/lang/IllegalStateException; invoke-direct {v0, p0}, Ljava/lang/IllegalStateException;->(Ljava/lang/Throwable;)V throw v0 .end method .method public readLine()Ljava/lang/String; .locals 1 .annotation runtime Ljavax/annotation/CheckForNull; .end annotation :try_start_0 iget-object p0, p0, Lcom/google/common/io/ByteStreams$ByteArrayDataInputStream;->input:Ljava/io/DataInput; .line 461 invoke-interface {p0}, Ljava/io/DataInput;->readLine()Ljava/lang/String; move-result-object p0 :try_end_0 .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0 return-object p0 :catch_0 move-exception p0 .line 463 new-instance v0, Ljava/lang/IllegalStateException; invoke-direct {v0, p0}, Ljava/lang/IllegalStateException;->(Ljava/lang/Throwable;)V throw v0 .end method .method public readLong()J .locals 2 :try_start_0 iget-object p0, p0, Lcom/google/common/io/ByteStreams$ByteArrayDataInputStream;->input:Ljava/io/DataInput; .line 433 invoke-interface {p0}, Ljava/io/DataInput;->readLong()J move-result-wide v0 :try_end_0 .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0 return-wide v0 :catch_0 move-exception p0 .line 435 new-instance v0, Ljava/lang/IllegalStateException; invoke-direct {v0, p0}, Ljava/lang/IllegalStateException;->(Ljava/lang/Throwable;)V throw v0 .end method .method public readShort()S .locals 1 :try_start_0 iget-object p0, p0, Lcom/google/common/io/ByteStreams$ByteArrayDataInputStream;->input:Ljava/io/DataInput; .line 397 invoke-interface {p0}, Ljava/io/DataInput;->readShort()S move-result p0 :try_end_0 .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0 return p0 :catch_0 move-exception p0 .line 399 new-instance v0, Ljava/lang/IllegalStateException; invoke-direct {v0, p0}, Ljava/lang/IllegalStateException;->(Ljava/lang/Throwable;)V throw v0 .end method .method public readUTF()Ljava/lang/String; .locals 1 :try_start_0 iget-object p0, p0, Lcom/google/common/io/ByteStreams$ByteArrayDataInputStream;->input:Ljava/io/DataInput; .line 470 invoke-interface {p0}, Ljava/io/DataInput;->readUTF()Ljava/lang/String; move-result-object p0 :try_end_0 .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0 return-object p0 :catch_0 move-exception p0 .line 472 new-instance v0, Ljava/lang/IllegalStateException; invoke-direct {v0, p0}, Ljava/lang/IllegalStateException;->(Ljava/lang/Throwable;)V throw v0 .end method .method public readUnsignedByte()I .locals 1 :try_start_0 iget-object p0, p0, Lcom/google/common/io/ByteStreams$ByteArrayDataInputStream;->input:Ljava/io/DataInput; .line 388 invoke-interface {p0}, Ljava/io/DataInput;->readUnsignedByte()I move-result p0 :try_end_0 .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0 return p0 :catch_0 move-exception p0 .line 390 new-instance v0, Ljava/lang/IllegalStateException; invoke-direct {v0, p0}, Ljava/lang/IllegalStateException;->(Ljava/lang/Throwable;)V throw v0 .end method .method public readUnsignedShort()I .locals 1 :try_start_0 iget-object p0, p0, Lcom/google/common/io/ByteStreams$ByteArrayDataInputStream;->input:Ljava/io/DataInput; .line 406 invoke-interface {p0}, Ljava/io/DataInput;->readUnsignedShort()I move-result p0 :try_end_0 .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0 return p0 :catch_0 move-exception p0 .line 408 new-instance v0, Ljava/lang/IllegalStateException; invoke-direct {v0, p0}, Ljava/lang/IllegalStateException;->(Ljava/lang/Throwable;)V throw v0 .end method .method public skipBytes(I)I .locals 0 :try_start_0 iget-object p0, p0, Lcom/google/common/io/ByteStreams$ByteArrayDataInputStream;->input:Ljava/io/DataInput; .line 359 invoke-interface {p0, p1}, Ljava/io/DataInput;->skipBytes(I)I move-result p0 :try_end_0 .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0 return p0 :catch_0 move-exception p0 .line 361 new-instance p1, Ljava/lang/IllegalStateException; invoke-direct {p1, p0}, Ljava/lang/IllegalStateException;->(Ljava/lang/Throwable;)V throw p1 .end method