.class Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder$ByteBufferBackedInputStream; .super Ljava/io/InputStream; .source "SourceFile" # annotations .annotation system Ldalvik/annotation/EnclosingClass; value = Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder; .end annotation .annotation system Ldalvik/annotation/InnerClass; accessFlags = 0x9 name = "ByteBufferBackedInputStream" .end annotation # instance fields .field buf:Ljava/nio/ByteBuffer; # direct methods .method public constructor (Ljava/nio/ByteBuffer;)V .locals 0 .line 1041 invoke-direct {p0}, Ljava/io/InputStream;->()V iput-object p1, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder$ByteBufferBackedInputStream;->buf:Ljava/nio/ByteBuffer; return-void .end method # virtual methods .method public read()I .locals 1 .annotation system Ldalvik/annotation/Throws; value = { Ljava/io/IOException; } .end annotation :try_start_0 iget-object v0, p0, Landroidx/emoji2/text/flatbuffer/FlatBufferBuilder$ByteBufferBackedInputStream;->buf:Ljava/nio/ByteBuffer; .line 1047 invoke-virtual {v0}, Ljava/nio/ByteBuffer;->get()B move-result v0 :try_end_0 .catch Ljava/nio/BufferUnderflowException; {:try_start_0 .. :try_end_0} :catch_0 and-int/lit16 v0, v0, 0xff return v0 :catch_0 const/4 v0, -0x1 return v0 .end method