.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 .prologue .line 333 invoke-direct {p0}, Ljava/lang/Object;->()V .line 334 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; .line 335 return-void .end method # virtual methods .method public readBoolean()Z .locals 2 .prologue .line 363 :try_start_0 iget-object v0, p0, Lcom/google/common/io/ByteStreams$ByteArrayDataInputStream;->input:Ljava/io/DataInput; invoke-interface {v0}, Ljava/io/DataInput;->readBoolean()Z :try_end_0 .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0 move-result v0 return v0 .line 364 :catch_0 move-exception v0 .line 365 new-instance v1, Ljava/lang/IllegalStateException; invoke-direct {v1, v0}, Ljava/lang/IllegalStateException;->(Ljava/lang/Throwable;)V throw v1 .end method .method public readByte()B .locals 2 .prologue .line 371 :try_start_0 iget-object v0, p0, Lcom/google/common/io/ByteStreams$ByteArrayDataInputStream;->input:Ljava/io/DataInput; invoke-interface {v0}, Ljava/io/DataInput;->readByte()B :try_end_0 .catch Ljava/io/EOFException; {:try_start_0 .. :try_end_0} :catch_0 .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_1 move-result v0 return v0 .line 372 :catch_0 move-exception v0 .line 373 new-instance v1, Ljava/lang/IllegalStateException; invoke-direct {v1, v0}, Ljava/lang/IllegalStateException;->(Ljava/lang/Throwable;)V throw v1 .line 374 :catch_1 move-exception v0 .line 375 new-instance v1, Ljava/lang/AssertionError; invoke-direct {v1, v0}, Ljava/lang/AssertionError;->(Ljava/lang/Object;)V throw v1 .end method .method public readChar()C .locals 2 .prologue .line 405 :try_start_0 iget-object v0, p0, Lcom/google/common/io/ByteStreams$ByteArrayDataInputStream;->input:Ljava/io/DataInput; invoke-interface {v0}, Ljava/io/DataInput;->readChar()C :try_end_0 .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0 move-result v0 return v0 .line 406 :catch_0 move-exception v0 .line 407 new-instance v1, Ljava/lang/IllegalStateException; invoke-direct {v1, v0}, Ljava/lang/IllegalStateException;->(Ljava/lang/Throwable;)V throw v1 .end method .method public readDouble()D .locals 2 .prologue .line 437 :try_start_0 iget-object v0, p0, Lcom/google/common/io/ByteStreams$ByteArrayDataInputStream;->input:Ljava/io/DataInput; invoke-interface {v0}, Ljava/io/DataInput;->readDouble()D :try_end_0 .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0 move-result-wide v0 return-wide v0 .line 438 :catch_0 move-exception v0 .line 439 new-instance v1, Ljava/lang/IllegalStateException; invoke-direct {v1, v0}, Ljava/lang/IllegalStateException;->(Ljava/lang/Throwable;)V throw v1 .end method .method public readFloat()F .locals 2 .prologue .line 429 :try_start_0 iget-object v0, p0, Lcom/google/common/io/ByteStreams$ByteArrayDataInputStream;->input:Ljava/io/DataInput; invoke-interface {v0}, Ljava/io/DataInput;->readFloat()F :try_end_0 .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0 move-result v0 return v0 .line 430 :catch_0 move-exception v0 .line 431 new-instance v1, Ljava/lang/IllegalStateException; invoke-direct {v1, v0}, Ljava/lang/IllegalStateException;->(Ljava/lang/Throwable;)V throw v1 .end method .method public readFully([B)V .locals 2 .prologue .line 339 :try_start_0 iget-object v0, p0, Lcom/google/common/io/ByteStreams$ByteArrayDataInputStream;->input:Ljava/io/DataInput; invoke-interface {v0, p1}, Ljava/io/DataInput;->readFully([B)V :try_end_0 .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0 .line 343 return-void .line 340 :catch_0 move-exception v0 .line 341 new-instance v1, Ljava/lang/IllegalStateException; invoke-direct {v1, v0}, Ljava/lang/IllegalStateException;->(Ljava/lang/Throwable;)V throw v1 .end method .method public readFully([BII)V .locals 2 .prologue .line 347 :try_start_0 iget-object v0, p0, Lcom/google/common/io/ByteStreams$ByteArrayDataInputStream;->input:Ljava/io/DataInput; invoke-interface {v0, p1, p2, p3}, Ljava/io/DataInput;->readFully([BII)V :try_end_0 .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0 .line 351 return-void .line 348 :catch_0 move-exception v0 .line 349 new-instance v1, Ljava/lang/IllegalStateException; invoke-direct {v1, v0}, Ljava/lang/IllegalStateException;->(Ljava/lang/Throwable;)V throw v1 .end method .method public readInt()I .locals 2 .prologue .line 413 :try_start_0 iget-object v0, p0, Lcom/google/common/io/ByteStreams$ByteArrayDataInputStream;->input:Ljava/io/DataInput; invoke-interface {v0}, Ljava/io/DataInput;->readInt()I :try_end_0 .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0 move-result v0 return v0 .line 414 :catch_0 move-exception v0 .line 415 new-instance v1, Ljava/lang/IllegalStateException; invoke-direct {v1, v0}, Ljava/lang/IllegalStateException;->(Ljava/lang/Throwable;)V throw v1 .end method .method public readLine()Ljava/lang/String; .locals 2 .prologue .line 445 :try_start_0 iget-object v0, p0, Lcom/google/common/io/ByteStreams$ByteArrayDataInputStream;->input:Ljava/io/DataInput; invoke-interface {v0}, Ljava/io/DataInput;->readLine()Ljava/lang/String; :try_end_0 .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0 move-result-object v0 return-object v0 .line 446 :catch_0 move-exception v0 .line 447 new-instance v1, Ljava/lang/IllegalStateException; invoke-direct {v1, v0}, Ljava/lang/IllegalStateException;->(Ljava/lang/Throwable;)V throw v1 .end method .method public readLong()J .locals 2 .prologue .line 421 :try_start_0 iget-object v0, p0, Lcom/google/common/io/ByteStreams$ByteArrayDataInputStream;->input:Ljava/io/DataInput; invoke-interface {v0}, Ljava/io/DataInput;->readLong()J :try_end_0 .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0 move-result-wide v0 return-wide v0 .line 422 :catch_0 move-exception v0 .line 423 new-instance v1, Ljava/lang/IllegalStateException; invoke-direct {v1, v0}, Ljava/lang/IllegalStateException;->(Ljava/lang/Throwable;)V throw v1 .end method .method public readShort()S .locals 2 .prologue .line 389 :try_start_0 iget-object v0, p0, Lcom/google/common/io/ByteStreams$ByteArrayDataInputStream;->input:Ljava/io/DataInput; invoke-interface {v0}, Ljava/io/DataInput;->readShort()S :try_end_0 .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0 move-result v0 return v0 .line 390 :catch_0 move-exception v0 .line 391 new-instance v1, Ljava/lang/IllegalStateException; invoke-direct {v1, v0}, Ljava/lang/IllegalStateException;->(Ljava/lang/Throwable;)V throw v1 .end method .method public readUTF()Ljava/lang/String; .locals 2 .prologue .line 453 :try_start_0 iget-object v0, p0, Lcom/google/common/io/ByteStreams$ByteArrayDataInputStream;->input:Ljava/io/DataInput; invoke-interface {v0}, Ljava/io/DataInput;->readUTF()Ljava/lang/String; :try_end_0 .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0 move-result-object v0 return-object v0 .line 454 :catch_0 move-exception v0 .line 455 new-instance v1, Ljava/lang/IllegalStateException; invoke-direct {v1, v0}, Ljava/lang/IllegalStateException;->(Ljava/lang/Throwable;)V throw v1 .end method .method public readUnsignedByte()I .locals 2 .prologue .line 381 :try_start_0 iget-object v0, p0, Lcom/google/common/io/ByteStreams$ByteArrayDataInputStream;->input:Ljava/io/DataInput; invoke-interface {v0}, Ljava/io/DataInput;->readUnsignedByte()I :try_end_0 .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0 move-result v0 return v0 .line 382 :catch_0 move-exception v0 .line 383 new-instance v1, Ljava/lang/IllegalStateException; invoke-direct {v1, v0}, Ljava/lang/IllegalStateException;->(Ljava/lang/Throwable;)V throw v1 .end method .method public readUnsignedShort()I .locals 2 .prologue .line 397 :try_start_0 iget-object v0, p0, Lcom/google/common/io/ByteStreams$ByteArrayDataInputStream;->input:Ljava/io/DataInput; invoke-interface {v0}, Ljava/io/DataInput;->readUnsignedShort()I :try_end_0 .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0 move-result v0 return v0 .line 398 :catch_0 move-exception v0 .line 399 new-instance v1, Ljava/lang/IllegalStateException; invoke-direct {v1, v0}, Ljava/lang/IllegalStateException;->(Ljava/lang/Throwable;)V throw v1 .end method .method public skipBytes(I)I .locals 2 .prologue .line 355 :try_start_0 iget-object v0, p0, Lcom/google/common/io/ByteStreams$ByteArrayDataInputStream;->input:Ljava/io/DataInput; invoke-interface {v0, p1}, Ljava/io/DataInput;->skipBytes(I)I :try_end_0 .catch Ljava/io/IOException; {:try_start_0 .. :try_end_0} :catch_0 move-result v0 return v0 .line 356 :catch_0 move-exception v0 .line 357 new-instance v1, Ljava/lang/IllegalStateException; invoke-direct {v1, v0}, Ljava/lang/IllegalStateException;->(Ljava/lang/Throwable;)V throw v1 .end method