public class org.postgresql.core.PGStream implements java.io.Closeable, java.io.Flushable
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.postgresql.core.PGStream
  super_class: java.lang.Object
{
  private final javax.net.SocketFactory socketFactory;
    descriptor: Ljavax/net/SocketFactory;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final org.postgresql.util.HostSpec hostSpec;
    descriptor: Lorg/postgresql/util/HostSpec;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final byte[] int4Buf;
    descriptor: [B
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final byte[] int2Buf;
    descriptor: [B
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private java.net.Socket connection;
    descriptor: Ljava/net/Socket;
    flags: (0x0002) ACC_PRIVATE

  private org.postgresql.core.VisibleBufferedInputStream pgInput;
    descriptor: Lorg/postgresql/core/VisibleBufferedInputStream;
    flags: (0x0002) ACC_PRIVATE

  private java.io.OutputStream pgOutput;
    descriptor: Ljava/io/OutputStream;
    flags: (0x0002) ACC_PRIVATE

  private byte[] streamBuffer;
    descriptor: [B
    flags: (0x0002) ACC_PRIVATE

  private long nextStreamAvailableCheckTime;
    descriptor: J
    flags: (0x0002) ACC_PRIVATE

  private int minStreamAvailableCheckDelay;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private org.postgresql.core.Encoding encoding;
    descriptor: Lorg/postgresql/core/Encoding;
    flags: (0x0002) ACC_PRIVATE

  private java.io.Writer encodingWriter;
    descriptor: Ljava/io/Writer;
    flags: (0x0002) ACC_PRIVATE

  public void <init>(javax.net.SocketFactory, org.postgresql.util.HostSpec, int);
    descriptor: (Ljavax/net/SocketFactory;Lorg/postgresql/util/HostSpec;I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=6, args_size=4
        start local 0 // org.postgresql.core.PGStream this
        start local 1 // javax.net.SocketFactory socketFactory
        start local 2 // org.postgresql.util.HostSpec hostSpec
        start local 3 // int timeout
         0: .line 63
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 50
            aload 0 /* this */
            sipush 1000
            putfield org.postgresql.core.PGStream.minStreamAvailableCheckDelay:I
         2: .line 64
            aload 0 /* this */
            aload 1 /* socketFactory */
            putfield org.postgresql.core.PGStream.socketFactory:Ljavax/net/SocketFactory;
         3: .line 65
            aload 0 /* this */
            aload 2 /* hostSpec */
            putfield org.postgresql.core.PGStream.hostSpec:Lorg/postgresql/util/HostSpec;
         4: .line 67
            aload 1 /* socketFactory */
            invokevirtual javax.net.SocketFactory.createSocket:()Ljava/net/Socket;
            astore 4 /* socket */
        start local 4 // java.net.Socket socket
         5: .line 68
            aload 4 /* socket */
            invokevirtual java.net.Socket.isConnected:()Z
            ifne 11
         6: .line 72
            aload 2 /* hostSpec */
            invokevirtual org.postgresql.util.HostSpec.shouldResolve:()Ljava/lang/Boolean;
            invokevirtual java.lang.Boolean.booleanValue:()Z
            ifeq 8
         7: .line 73
            new java.net.InetSocketAddress
            dup
            aload 2 /* hostSpec */
            invokevirtual org.postgresql.util.HostSpec.getHost:()Ljava/lang/String;
            aload 2 /* hostSpec */
            invokevirtual org.postgresql.util.HostSpec.getPort:()I
            invokespecial java.net.InetSocketAddress.<init>:(Ljava/lang/String;I)V
            goto 9
         8: .line 74
      StackMap locals: org.postgresql.core.PGStream javax.net.SocketFactory org.postgresql.util.HostSpec int java.net.Socket
      StackMap stack:
            aload 2 /* hostSpec */
            invokevirtual org.postgresql.util.HostSpec.getHost:()Ljava/lang/String;
            aload 2 /* hostSpec */
            invokevirtual org.postgresql.util.HostSpec.getPort:()I
            invokestatic java.net.InetSocketAddress.createUnresolved:(Ljava/lang/String;I)Ljava/net/InetSocketAddress;
         9: .line 72
      StackMap locals:
      StackMap stack: java.net.InetSocketAddress
            astore 5 /* address */
        start local 5 // java.net.InetSocketAddress address
        10: .line 75
            aload 4 /* socket */
            aload 5 /* address */
            iload 3 /* timeout */
            invokevirtual java.net.Socket.connect:(Ljava/net/SocketAddress;I)V
        end local 5 // java.net.InetSocketAddress address
        11: .line 77
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 4 /* socket */
            invokevirtual org.postgresql.core.PGStream.changeSocket:(Ljava/net/Socket;)V
        12: .line 78
            aload 0 /* this */
            ldc "UTF-8"
            invokestatic org.postgresql.core.Encoding.getJVMEncoding:(Ljava/lang/String;)Lorg/postgresql/core/Encoding;
            invokevirtual org.postgresql.core.PGStream.setEncoding:(Lorg/postgresql/core/Encoding;)V
        13: .line 80
            aload 0 /* this */
            iconst_2
            newarray 8
            putfield org.postgresql.core.PGStream.int2Buf:[B
        14: .line 81
            aload 0 /* this */
            iconst_4
            newarray 8
            putfield org.postgresql.core.PGStream.int4Buf:[B
        15: .line 82
            return
        end local 4 // java.net.Socket socket
        end local 3 // int timeout
        end local 2 // org.postgresql.util.HostSpec hostSpec
        end local 1 // javax.net.SocketFactory socketFactory
        end local 0 // org.postgresql.core.PGStream this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   16     0           this  Lorg/postgresql/core/PGStream;
            0   16     1  socketFactory  Ljavax/net/SocketFactory;
            0   16     2       hostSpec  Lorg/postgresql/util/HostSpec;
            0   16     3        timeout  I
            5   16     4         socket  Ljava/net/Socket;
           10   11     5        address  Ljava/net/InetSocketAddress;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
               Name  Flags
      socketFactory  
      hostSpec       
      timeout        

  public void <init>(javax.net.SocketFactory, org.postgresql.util.HostSpec);
    descriptor: (Ljavax/net/SocketFactory;Lorg/postgresql/util/HostSpec;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // org.postgresql.core.PGStream this
        start local 1 // javax.net.SocketFactory socketFactory
        start local 2 // org.postgresql.util.HostSpec hostSpec
         0: .line 94
            aload 0 /* this */
            aload 1 /* socketFactory */
            aload 2 /* hostSpec */
            iconst_0
            invokespecial org.postgresql.core.PGStream.<init>:(Ljavax/net/SocketFactory;Lorg/postgresql/util/HostSpec;I)V
         1: .line 95
            return
        end local 2 // org.postgresql.util.HostSpec hostSpec
        end local 1 // javax.net.SocketFactory socketFactory
        end local 0 // org.postgresql.core.PGStream this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0    2     0           this  Lorg/postgresql/core/PGStream;
            0    2     1  socketFactory  Ljavax/net/SocketFactory;
            0    2     2       hostSpec  Lorg/postgresql/util/HostSpec;
    Exceptions:
      throws java.io.IOException
    RuntimeVisibleAnnotations: 
      java.lang.Deprecated()
    MethodParameters:
               Name  Flags
      socketFactory  
      hostSpec       

  public org.postgresql.util.HostSpec getHostSpec();
    descriptor: ()Lorg/postgresql/util/HostSpec;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.postgresql.core.PGStream this
         0: .line 98
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.hostSpec:Lorg/postgresql/util/HostSpec;
            areturn
        end local 0 // org.postgresql.core.PGStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/postgresql/core/PGStream;

  public java.net.Socket getSocket();
    descriptor: ()Ljava/net/Socket;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.postgresql.core.PGStream this
         0: .line 102
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.connection:Ljava/net/Socket;
            areturn
        end local 0 // org.postgresql.core.PGStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/postgresql/core/PGStream;

  public javax.net.SocketFactory getSocketFactory();
    descriptor: ()Ljavax/net/SocketFactory;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.postgresql.core.PGStream this
         0: .line 106
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.socketFactory:Ljavax/net/SocketFactory;
            areturn
        end local 0 // org.postgresql.core.PGStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/postgresql/core/PGStream;

  public boolean hasMessagePending();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=6, args_size=1
        start local 0 // org.postgresql.core.PGStream this
         0: .line 118
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.pgInput:Lorg/postgresql/core/VisibleBufferedInputStream;
            invokevirtual org.postgresql.core.VisibleBufferedInputStream.available:()I
            ifle 2
         1: .line 119
            iconst_1
            ireturn
         2: .line 122
      StackMap locals:
      StackMap stack:
            invokestatic java.lang.System.currentTimeMillis:()J
            lstore 1 /* now */
        start local 1 // long now
         3: .line 123
            lload 1 /* now */
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.nextStreamAvailableCheckTime:J
            lcmp
            ifge 5
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.minStreamAvailableCheckDelay:I
            ifeq 5
         4: .line 125
            iconst_0
            ireturn
         5: .line 127
      StackMap locals: long
      StackMap stack:
            aload 0 /* this */
            lload 1 /* now */
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.minStreamAvailableCheckDelay:I
            i2l
            ladd
            putfield org.postgresql.core.PGStream.nextStreamAvailableCheckTime:J
         6: .line 128
            aload 0 /* this */
            invokevirtual org.postgresql.core.PGStream.getNetworkTimeout:()I
            istore 3 /* soTimeout */
        start local 3 // int soTimeout
         7: .line 129
            aload 0 /* this */
            iconst_1
            invokevirtual org.postgresql.core.PGStream.setNetworkTimeout:(I)V
         8: .line 131
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.pgInput:Lorg/postgresql/core/VisibleBufferedInputStream;
            invokevirtual org.postgresql.core.VisibleBufferedInputStream.peek:()I
            iconst_m1
            if_icmpeq 9
            iconst_1
            goto 10
      StackMap locals: int
      StackMap stack:
         9: iconst_0
      StackMap locals:
      StackMap stack: int
        10: istore 5
        11: .line 135
            aload 0 /* this */
            iload 3 /* soTimeout */
            invokevirtual org.postgresql.core.PGStream.setNetworkTimeout:(I)V
        12: .line 131
            iload 5
            ireturn
        13: .line 132
      StackMap locals:
      StackMap stack: java.net.SocketTimeoutException
            pop
        14: .line 135
            aload 0 /* this */
            iload 3 /* soTimeout */
            invokevirtual org.postgresql.core.PGStream.setNetworkTimeout:(I)V
        15: .line 133
            iconst_0
            ireturn
        16: .line 134
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 4
        17: .line 135
            aload 0 /* this */
            iload 3 /* soTimeout */
            invokevirtual org.postgresql.core.PGStream.setNetworkTimeout:(I)V
        18: .line 136
            aload 4
            athrow
        end local 3 // int soTimeout
        end local 1 // long now
        end local 0 // org.postgresql.core.PGStream this
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   19     0       this  Lorg/postgresql/core/PGStream;
            3   19     1        now  J
            7   19     3  soTimeout  I
      Exception table:
        from    to  target  type
           8    11      13  Class java.net.SocketTimeoutException
           8    11      16  any
          13    14      16  any
    Exceptions:
      throws java.io.IOException

  public void setMinStreamAvailableCheckDelay(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.postgresql.core.PGStream this
        start local 1 // int delay
         0: .line 140
            aload 0 /* this */
            iload 1 /* delay */
            putfield org.postgresql.core.PGStream.minStreamAvailableCheckDelay:I
         1: .line 141
            return
        end local 1 // int delay
        end local 0 // org.postgresql.core.PGStream this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    2     0   this  Lorg/postgresql/core/PGStream;
            0    2     1  delay  I
    MethodParameters:
       Name  Flags
      delay  

  public void changeSocket(java.net.Socket);
    descriptor: (Ljava/net/Socket;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // org.postgresql.core.PGStream this
        start local 1 // java.net.Socket socket
         0: .line 151
            aload 0 /* this */
            aload 1 /* socket */
            putfield org.postgresql.core.PGStream.connection:Ljava/net/Socket;
         1: .line 156
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.connection:Ljava/net/Socket;
            iconst_1
            invokevirtual java.net.Socket.setTcpNoDelay:(Z)V
         2: .line 159
            aload 0 /* this */
            new org.postgresql.core.VisibleBufferedInputStream
            dup
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.connection:Ljava/net/Socket;
            invokevirtual java.net.Socket.getInputStream:()Ljava/io/InputStream;
            sipush 8192
            invokespecial org.postgresql.core.VisibleBufferedInputStream.<init>:(Ljava/io/InputStream;I)V
            putfield org.postgresql.core.PGStream.pgInput:Lorg/postgresql/core/VisibleBufferedInputStream;
         3: .line 160
            aload 0 /* this */
            new java.io.BufferedOutputStream
            dup
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.connection:Ljava/net/Socket;
            invokevirtual java.net.Socket.getOutputStream:()Ljava/io/OutputStream;
            sipush 8192
            invokespecial java.io.BufferedOutputStream.<init>:(Ljava/io/OutputStream;I)V
            putfield org.postgresql.core.PGStream.pgOutput:Ljava/io/OutputStream;
         4: .line 162
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.encoding:Lorg/postgresql/core/Encoding;
            ifnull 6
         5: .line 163
            aload 0 /* this */
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.encoding:Lorg/postgresql/core/Encoding;
            invokevirtual org.postgresql.core.PGStream.setEncoding:(Lorg/postgresql/core/Encoding;)V
         6: .line 165
      StackMap locals:
      StackMap stack:
            return
        end local 1 // java.net.Socket socket
        end local 0 // org.postgresql.core.PGStream this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    7     0    this  Lorg/postgresql/core/PGStream;
            0    7     1  socket  Ljava/net/Socket;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
        Name  Flags
      socket  

  public org.postgresql.core.Encoding getEncoding();
    descriptor: ()Lorg/postgresql/core/Encoding;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.postgresql.core.PGStream this
         0: .line 168
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.encoding:Lorg/postgresql/core/Encoding;
            areturn
        end local 0 // org.postgresql.core.PGStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/postgresql/core/PGStream;

  public void setEncoding(org.postgresql.core.Encoding);
    descriptor: (Lorg/postgresql/core/Encoding;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // org.postgresql.core.PGStream this
        start local 1 // org.postgresql.core.Encoding encoding
         0: .line 178
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.encoding:Lorg/postgresql/core/Encoding;
            ifnull 2
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.encoding:Lorg/postgresql/core/Encoding;
            invokevirtual org.postgresql.core.Encoding.name:()Ljava/lang/String;
            aload 1 /* encoding */
            invokevirtual org.postgresql.core.Encoding.name:()Ljava/lang/String;
            invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
            ifeq 2
         1: .line 179
            return
         2: .line 182
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.encodingWriter:Ljava/io/Writer;
            ifnull 4
         3: .line 183
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.encodingWriter:Ljava/io/Writer;
            invokevirtual java.io.Writer.close:()V
         4: .line 186
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* encoding */
            putfield org.postgresql.core.PGStream.encoding:Lorg/postgresql/core/Encoding;
         5: .line 190
            new org.postgresql.core.PGStream$1
            dup
            aload 0 /* this */
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.pgOutput:Ljava/io/OutputStream;
            invokespecial org.postgresql.core.PGStream$1.<init>:(Lorg/postgresql/core/PGStream;Ljava/io/OutputStream;)V
            astore 2 /* interceptor */
        start local 2 // java.io.OutputStream interceptor
         6: .line 199
            aload 0 /* this */
            aload 1 /* encoding */
            aload 2 /* interceptor */
            invokevirtual org.postgresql.core.Encoding.getEncodingWriter:(Ljava/io/OutputStream;)Ljava/io/Writer;
            putfield org.postgresql.core.PGStream.encodingWriter:Ljava/io/Writer;
         7: .line 200
            return
        end local 2 // java.io.OutputStream interceptor
        end local 1 // org.postgresql.core.Encoding encoding
        end local 0 // org.postgresql.core.PGStream this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    8     0         this  Lorg/postgresql/core/PGStream;
            0    8     1     encoding  Lorg/postgresql/core/Encoding;
            6    8     2  interceptor  Ljava/io/OutputStream;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
          Name  Flags
      encoding  

  public java.io.Writer getEncodingWriter();
    descriptor: ()Ljava/io/Writer;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.postgresql.core.PGStream this
         0: .line 214
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.encodingWriter:Ljava/io/Writer;
            ifnonnull 2
         1: .line 215
            new java.io.IOException
            dup
            ldc "No encoding has been set on this connection"
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 217
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.encodingWriter:Ljava/io/Writer;
            areturn
        end local 0 // org.postgresql.core.PGStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/postgresql/core/PGStream;
    Exceptions:
      throws java.io.IOException

  public void sendChar(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.postgresql.core.PGStream this
        start local 1 // int val
         0: .line 227
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.pgOutput:Ljava/io/OutputStream;
            iload 1 /* val */
            invokevirtual java.io.OutputStream.write:(I)V
         1: .line 228
            return
        end local 1 // int val
        end local 0 // org.postgresql.core.PGStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/postgresql/core/PGStream;
            0    2     1   val  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      val   

  public void sendInteger4(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // org.postgresql.core.PGStream this
        start local 1 // int val
         0: .line 237
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.int4Buf:[B
            iconst_0
            iload 1 /* val */
            bipush 24
            iushr
            i2b
            bastore
         1: .line 238
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.int4Buf:[B
            iconst_1
            iload 1 /* val */
            bipush 16
            iushr
            i2b
            bastore
         2: .line 239
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.int4Buf:[B
            iconst_2
            iload 1 /* val */
            bipush 8
            iushr
            i2b
            bastore
         3: .line 240
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.int4Buf:[B
            iconst_3
            iload 1 /* val */
            i2b
            bastore
         4: .line 241
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.pgOutput:Ljava/io/OutputStream;
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.int4Buf:[B
            invokevirtual java.io.OutputStream.write:([B)V
         5: .line 242
            return
        end local 1 // int val
        end local 0 // org.postgresql.core.PGStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lorg/postgresql/core/PGStream;
            0    6     1   val  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      val   

  public void sendInteger2(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // org.postgresql.core.PGStream this
        start local 1 // int val
         0: .line 251
            iload 1 /* val */
            sipush -32768
            if_icmplt 1
            iload 1 /* val */
            sipush 32767
            if_icmple 2
         1: .line 252
      StackMap locals:
      StackMap stack:
            new java.io.IOException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Tried to send an out-of-range integer as a 2-byte value: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 1 /* val */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.io.IOException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 255
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.int2Buf:[B
            iconst_0
            iload 1 /* val */
            bipush 8
            iushr
            i2b
            bastore
         3: .line 256
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.int2Buf:[B
            iconst_1
            iload 1 /* val */
            i2b
            bastore
         4: .line 257
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.pgOutput:Ljava/io/OutputStream;
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.int2Buf:[B
            invokevirtual java.io.OutputStream.write:([B)V
         5: .line 258
            return
        end local 1 // int val
        end local 0 // org.postgresql.core.PGStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lorg/postgresql/core/PGStream;
            0    6     1   val  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      val   

  public void send(byte[]);
    descriptor: ([B)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.postgresql.core.PGStream this
        start local 1 // byte[] buf
         0: .line 267
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.pgOutput:Ljava/io/OutputStream;
            aload 1 /* buf */
            invokevirtual java.io.OutputStream.write:([B)V
         1: .line 268
            return
        end local 1 // byte[] buf
        end local 0 // org.postgresql.core.PGStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/postgresql/core/PGStream;
            0    2     1   buf  [B
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      buf   

  public void send(byte[], int);
    descriptor: ([BI)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // org.postgresql.core.PGStream this
        start local 1 // byte[] buf
        start local 2 // int siz
         0: .line 279
            aload 0 /* this */
            aload 1 /* buf */
            iconst_0
            iload 2 /* siz */
            invokevirtual org.postgresql.core.PGStream.send:([BII)V
         1: .line 280
            return
        end local 2 // int siz
        end local 1 // byte[] buf
        end local 0 // org.postgresql.core.PGStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/postgresql/core/PGStream;
            0    2     1   buf  [B
            0    2     2   siz  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      buf   
      siz   

  public void send(byte[], int, int);
    descriptor: ([BII)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=6, args_size=4
        start local 0 // org.postgresql.core.PGStream this
        start local 1 // byte[] buf
        start local 2 // int off
        start local 3 // int siz
         0: .line 292
            aload 1 /* buf */
            arraylength
            iload 2 /* off */
            isub
            istore 4 /* bufamt */
        start local 4 // int bufamt
         1: .line 293
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.pgOutput:Ljava/io/OutputStream;
            aload 1 /* buf */
            iload 2 /* off */
            iload 4 /* bufamt */
            iload 3 /* siz */
            if_icmpge 2
            iload 4 /* bufamt */
            goto 3
      StackMap locals: org.postgresql.core.PGStream byte[] int int int
      StackMap stack: java.io.OutputStream byte[] int
         2: iload 3 /* siz */
      StackMap locals: org.postgresql.core.PGStream byte[] int int int
      StackMap stack: java.io.OutputStream byte[] int int
         3: invokevirtual java.io.OutputStream.write:([BII)V
         4: .line 294
            iload 4 /* bufamt */
            istore 5 /* i */
        start local 5 // int i
         5: goto 8
         6: .line 295
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.pgOutput:Ljava/io/OutputStream;
            iconst_0
            invokevirtual java.io.OutputStream.write:(I)V
         7: .line 294
            iinc 5 /* i */ 1
      StackMap locals:
      StackMap stack:
         8: iload 5 /* i */
            iload 3 /* siz */
            if_icmplt 6
        end local 5 // int i
         9: .line 297
            return
        end local 4 // int bufamt
        end local 3 // int siz
        end local 2 // int off
        end local 1 // byte[] buf
        end local 0 // org.postgresql.core.PGStream this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   10     0    this  Lorg/postgresql/core/PGStream;
            0   10     1     buf  [B
            0   10     2     off  I
            0   10     3     siz  I
            1   10     4  bufamt  I
            5    9     5       i  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      buf   
      off   
      siz   

  public int peekChar();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // org.postgresql.core.PGStream this
         0: .line 307
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.pgInput:Lorg/postgresql/core/VisibleBufferedInputStream;
            invokevirtual org.postgresql.core.VisibleBufferedInputStream.peek:()I
            istore 1 /* c */
        start local 1 // int c
         1: .line 308
            iload 1 /* c */
            ifge 3
         2: .line 309
            new java.io.EOFException
            dup
            invokespecial java.io.EOFException.<init>:()V
            athrow
         3: .line 311
      StackMap locals: int
      StackMap stack:
            iload 1 /* c */
            ireturn
        end local 1 // int c
        end local 0 // org.postgresql.core.PGStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/postgresql/core/PGStream;
            1    4     1     c  I
    Exceptions:
      throws java.io.IOException

  public int receiveChar();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // org.postgresql.core.PGStream this
         0: .line 321
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.pgInput:Lorg/postgresql/core/VisibleBufferedInputStream;
            invokevirtual org.postgresql.core.VisibleBufferedInputStream.read:()I
            istore 1 /* c */
        start local 1 // int c
         1: .line 322
            iload 1 /* c */
            ifge 3
         2: .line 323
            new java.io.EOFException
            dup
            invokespecial java.io.EOFException.<init>:()V
            athrow
         3: .line 325
      StackMap locals: int
      StackMap stack:
            iload 1 /* c */
            ireturn
        end local 1 // int c
        end local 0 // org.postgresql.core.PGStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/postgresql/core/PGStream;
            1    4     1     c  I
    Exceptions:
      throws java.io.IOException

  public int receiveInteger4();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.postgresql.core.PGStream this
         0: .line 335
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.pgInput:Lorg/postgresql/core/VisibleBufferedInputStream;
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.int4Buf:[B
            invokevirtual org.postgresql.core.VisibleBufferedInputStream.read:([B)I
            iconst_4
            if_icmpeq 2
         1: .line 336
            new java.io.EOFException
            dup
            invokespecial java.io.EOFException.<init>:()V
            athrow
         2: .line 339
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.int4Buf:[B
            iconst_0
            baload
            sipush 255
            iand
            bipush 24
            ishl
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.int4Buf:[B
            iconst_1
            baload
            sipush 255
            iand
            bipush 16
            ishl
            ior
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.int4Buf:[B
            iconst_2
            baload
            sipush 255
            iand
            bipush 8
            ishl
            ior
         3: .line 340
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.int4Buf:[B
            iconst_3
            baload
            sipush 255
            iand
         4: .line 339
            ior
            ireturn
        end local 0 // org.postgresql.core.PGStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lorg/postgresql/core/PGStream;
    Exceptions:
      throws java.io.IOException

  public int receiveInteger2();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.postgresql.core.PGStream this
         0: .line 350
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.pgInput:Lorg/postgresql/core/VisibleBufferedInputStream;
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.int2Buf:[B
            invokevirtual org.postgresql.core.VisibleBufferedInputStream.read:([B)I
            iconst_2
            if_icmpeq 2
         1: .line 351
            new java.io.EOFException
            dup
            invokespecial java.io.EOFException.<init>:()V
            athrow
         2: .line 354
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.int2Buf:[B
            iconst_0
            baload
            sipush 255
            iand
            bipush 8
            ishl
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.int2Buf:[B
            iconst_1
            baload
            sipush 255
            iand
            ior
            ireturn
        end local 0 // org.postgresql.core.PGStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/postgresql/core/PGStream;
    Exceptions:
      throws java.io.IOException

  public java.lang.String receiveString(int);
    descriptor: (I)Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // org.postgresql.core.PGStream this
        start local 1 // int len
         0: .line 365
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.pgInput:Lorg/postgresql/core/VisibleBufferedInputStream;
            iload 1 /* len */
            invokevirtual org.postgresql.core.VisibleBufferedInputStream.ensureBytes:(I)Z
            ifne 2
         1: .line 366
            new java.io.EOFException
            dup
            invokespecial java.io.EOFException.<init>:()V
            athrow
         2: .line 369
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.encoding:Lorg/postgresql/core/Encoding;
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.pgInput:Lorg/postgresql/core/VisibleBufferedInputStream;
            invokevirtual org.postgresql.core.VisibleBufferedInputStream.getBuffer:()[B
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.pgInput:Lorg/postgresql/core/VisibleBufferedInputStream;
            invokevirtual org.postgresql.core.VisibleBufferedInputStream.getIndex:()I
            iload 1 /* len */
            invokevirtual org.postgresql.core.Encoding.decode:([BII)Ljava/lang/String;
            astore 2 /* res */
        start local 2 // java.lang.String res
         3: .line 370
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.pgInput:Lorg/postgresql/core/VisibleBufferedInputStream;
            iload 1 /* len */
            i2l
            invokevirtual org.postgresql.core.VisibleBufferedInputStream.skip:(J)J
            pop2
         4: .line 371
            aload 2 /* res */
            areturn
        end local 2 // java.lang.String res
        end local 1 // int len
        end local 0 // org.postgresql.core.PGStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lorg/postgresql/core/PGStream;
            0    5     1   len  I
            3    5     2   res  Ljava/lang/String;
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      len   

  public org.postgresql.core.EncodingPredictor$DecodeResult receiveErrorString(int);
    descriptor: (I)Lorg/postgresql/core/EncodingPredictor$DecodeResult;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=5, args_size=2
        start local 0 // org.postgresql.core.PGStream this
        start local 1 // int len
         0: .line 383
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.pgInput:Lorg/postgresql/core/VisibleBufferedInputStream;
            iload 1 /* len */
            invokevirtual org.postgresql.core.VisibleBufferedInputStream.ensureBytes:(I)Z
            ifne 2
         1: .line 384
            new java.io.EOFException
            dup
            invokespecial java.io.EOFException.<init>:()V
            athrow
         2: .line 389
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.encoding:Lorg/postgresql/core/Encoding;
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.pgInput:Lorg/postgresql/core/VisibleBufferedInputStream;
            invokevirtual org.postgresql.core.VisibleBufferedInputStream.getBuffer:()[B
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.pgInput:Lorg/postgresql/core/VisibleBufferedInputStream;
            invokevirtual org.postgresql.core.VisibleBufferedInputStream.getIndex:()I
            iload 1 /* len */
            invokevirtual org.postgresql.core.Encoding.decode:([BII)Ljava/lang/String;
            astore 3 /* value */
        start local 3 // java.lang.String value
         3: .line 391
            new org.postgresql.core.EncodingPredictor$DecodeResult
            dup
            aload 3 /* value */
            aconst_null
            invokespecial org.postgresql.core.EncodingPredictor$DecodeResult.<init>:(Ljava/lang/String;Ljava/lang/String;)V
            astore 2 /* res */
        end local 3 // java.lang.String value
        start local 2 // org.postgresql.core.EncodingPredictor$DecodeResult res
         4: .line 392
            goto 11
        end local 2 // org.postgresql.core.EncodingPredictor$DecodeResult res
      StackMap locals:
      StackMap stack: java.io.IOException
         5: pop
         6: .line 393
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.pgInput:Lorg/postgresql/core/VisibleBufferedInputStream;
            invokevirtual org.postgresql.core.VisibleBufferedInputStream.getBuffer:()[B
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.pgInput:Lorg/postgresql/core/VisibleBufferedInputStream;
            invokevirtual org.postgresql.core.VisibleBufferedInputStream.getIndex:()I
            iload 1 /* len */
            invokestatic org.postgresql.core.EncodingPredictor.decode:([BII)Lorg/postgresql/core/EncodingPredictor$DecodeResult;
            astore 2 /* res */
        start local 2 // org.postgresql.core.EncodingPredictor$DecodeResult res
         7: .line 394
            aload 2 /* res */
            ifnonnull 11
         8: .line 395
            invokestatic org.postgresql.core.Encoding.defaultEncoding:()Lorg/postgresql/core/Encoding;
            astore 3 /* enc */
        start local 3 // org.postgresql.core.Encoding enc
         9: .line 396
            aload 3 /* enc */
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.pgInput:Lorg/postgresql/core/VisibleBufferedInputStream;
            invokevirtual org.postgresql.core.VisibleBufferedInputStream.getBuffer:()[B
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.pgInput:Lorg/postgresql/core/VisibleBufferedInputStream;
            invokevirtual org.postgresql.core.VisibleBufferedInputStream.getIndex:()I
            iload 1 /* len */
            invokevirtual org.postgresql.core.Encoding.decode:([BII)Ljava/lang/String;
            astore 4 /* value */
        start local 4 // java.lang.String value
        10: .line 397
            new org.postgresql.core.EncodingPredictor$DecodeResult
            dup
            aload 4 /* value */
            aload 3 /* enc */
            invokevirtual org.postgresql.core.Encoding.name:()Ljava/lang/String;
            invokespecial org.postgresql.core.EncodingPredictor$DecodeResult.<init>:(Ljava/lang/String;Ljava/lang/String;)V
            astore 2 /* res */
        end local 4 // java.lang.String value
        end local 3 // org.postgresql.core.Encoding enc
        11: .line 400
      StackMap locals: org.postgresql.core.EncodingPredictor$DecodeResult
      StackMap stack:
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.pgInput:Lorg/postgresql/core/VisibleBufferedInputStream;
            iload 1 /* len */
            i2l
            invokevirtual org.postgresql.core.VisibleBufferedInputStream.skip:(J)J
            pop2
        12: .line 401
            aload 2 /* res */
            areturn
        end local 2 // org.postgresql.core.EncodingPredictor$DecodeResult res
        end local 1 // int len
        end local 0 // org.postgresql.core.PGStream this
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   13     0   this  Lorg/postgresql/core/PGStream;
            0   13     1    len  I
            4    5     2    res  Lorg/postgresql/core/EncodingPredictor$DecodeResult;
            7   13     2    res  Lorg/postgresql/core/EncodingPredictor$DecodeResult;
            3    4     3  value  Ljava/lang/String;
            9   11     3    enc  Lorg/postgresql/core/Encoding;
           10   11     4  value  Ljava/lang/String;
      Exception table:
        from    to  target  type
           2     4       5  Class java.io.IOException
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      len   

  public java.lang.String receiveString();
    descriptor: ()Ljava/lang/String;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=3, args_size=1
        start local 0 // org.postgresql.core.PGStream this
         0: .line 412
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.pgInput:Lorg/postgresql/core/VisibleBufferedInputStream;
            invokevirtual org.postgresql.core.VisibleBufferedInputStream.scanCStringLength:()I
            istore 1 /* len */
        start local 1 // int len
         1: .line 413
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.encoding:Lorg/postgresql/core/Encoding;
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.pgInput:Lorg/postgresql/core/VisibleBufferedInputStream;
            invokevirtual org.postgresql.core.VisibleBufferedInputStream.getBuffer:()[B
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.pgInput:Lorg/postgresql/core/VisibleBufferedInputStream;
            invokevirtual org.postgresql.core.VisibleBufferedInputStream.getIndex:()I
            iload 1 /* len */
            iconst_1
            isub
            invokevirtual org.postgresql.core.Encoding.decode:([BII)Ljava/lang/String;
            astore 2 /* res */
        start local 2 // java.lang.String res
         2: .line 414
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.pgInput:Lorg/postgresql/core/VisibleBufferedInputStream;
            iload 1 /* len */
            i2l
            invokevirtual org.postgresql.core.VisibleBufferedInputStream.skip:(J)J
            pop2
         3: .line 415
            aload 2 /* res */
            areturn
        end local 2 // java.lang.String res
        end local 1 // int len
        end local 0 // org.postgresql.core.PGStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/postgresql/core/PGStream;
            1    4     1   len  I
            2    4     2   res  Ljava/lang/String;
    Exceptions:
      throws java.io.IOException

  public byte[][] receiveTupleV3();
    descriptor: ()[[B
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=7, args_size=1
        start local 0 // org.postgresql.core.PGStream this
         0: .line 426
            aload 0 /* this */
            invokevirtual org.postgresql.core.PGStream.receiveInteger4:()I
            pop
         1: .line 427
            aload 0 /* this */
            invokevirtual org.postgresql.core.PGStream.receiveInteger2:()I
            istore 1 /* nf */
        start local 1 // int nf
         2: .line 428
            iload 1 /* nf */
            anewarray byte[]
            astore 2 /* answer */
        start local 2 // byte[][] answer
         3: .line 430
            aconst_null
            astore 3 /* oom */
        start local 3 // java.lang.OutOfMemoryError oom
         4: .line 431
            iconst_0
            istore 4 /* i */
        start local 4 // int i
         5: goto 15
         6: .line 432
      StackMap locals: org.postgresql.core.PGStream int byte[][] java.lang.OutOfMemoryError int
      StackMap stack:
            aload 0 /* this */
            invokevirtual org.postgresql.core.PGStream.receiveInteger4:()I
            istore 5 /* size */
        start local 5 // int size
         7: .line 433
            iload 5 /* size */
            iconst_m1
            if_icmpeq 14
         8: .line 435
            aload 2 /* answer */
            iload 4 /* i */
            iload 5 /* size */
            newarray 8
            aastore
         9: .line 436
            aload 0 /* this */
            aload 2 /* answer */
            iload 4 /* i */
            aaload
            iconst_0
            iload 5 /* size */
            invokevirtual org.postgresql.core.PGStream.receive:([BII)V
        10: .line 437
            goto 14
      StackMap locals: org.postgresql.core.PGStream int byte[][] java.lang.OutOfMemoryError int int
      StackMap stack: java.lang.OutOfMemoryError
        11: astore 6 /* oome */
        start local 6 // java.lang.OutOfMemoryError oome
        12: .line 438
            aload 6 /* oome */
            astore 3 /* oom */
        13: .line 439
            aload 0 /* this */
            iload 5 /* size */
            invokevirtual org.postgresql.core.PGStream.skip:(I)V
        end local 6 // java.lang.OutOfMemoryError oome
        end local 5 // int size
        14: .line 431
      StackMap locals:
      StackMap stack:
            iinc 4 /* i */ 1
      StackMap locals:
      StackMap stack:
        15: iload 4 /* i */
            iload 1 /* nf */
            if_icmplt 6
        end local 4 // int i
        16: .line 444
            aload 3 /* oom */
            ifnull 18
        17: .line 445
            aload 3 /* oom */
            athrow
        18: .line 448
      StackMap locals:
      StackMap stack:
            aload 2 /* answer */
            areturn
        end local 3 // java.lang.OutOfMemoryError oom
        end local 2 // byte[][] answer
        end local 1 // int nf
        end local 0 // org.postgresql.core.PGStream this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   19     0    this  Lorg/postgresql/core/PGStream;
            2   19     1      nf  I
            3   19     2  answer  [[B
            4   19     3     oom  Ljava/lang/OutOfMemoryError;
            5   16     4       i  I
            7   14     5    size  I
           12   14     6    oome  Ljava/lang/OutOfMemoryError;
      Exception table:
        from    to  target  type
           8    10      11  Class java.lang.OutOfMemoryError
    Exceptions:
      throws java.io.IOException, java.lang.OutOfMemoryError

  public byte[] receive(int);
    descriptor: (I)[B
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // org.postgresql.core.PGStream this
        start local 1 // int siz
         0: .line 459
            iload 1 /* siz */
            newarray 8
            astore 2 /* answer */
        start local 2 // byte[] answer
         1: .line 460
            aload 0 /* this */
            aload 2 /* answer */
            iconst_0
            iload 1 /* siz */
            invokevirtual org.postgresql.core.PGStream.receive:([BII)V
         2: .line 461
            aload 2 /* answer */
            areturn
        end local 2 // byte[] answer
        end local 1 // int siz
        end local 0 // org.postgresql.core.PGStream this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    3     0    this  Lorg/postgresql/core/PGStream;
            0    3     1     siz  I
            1    3     2  answer  [B
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      siz   

  public void receive(byte[], int, int);
    descriptor: ([BII)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=6, args_size=4
        start local 0 // org.postgresql.core.PGStream this
        start local 1 // byte[] buf
        start local 2 // int off
        start local 3 // int siz
         0: .line 473
            iconst_0
            istore 4 /* s */
        start local 4 // int s
         1: .line 475
            goto 6
         2: .line 476
      StackMap locals: int
      StackMap stack:
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.pgInput:Lorg/postgresql/core/VisibleBufferedInputStream;
            aload 1 /* buf */
            iload 2 /* off */
            iload 4 /* s */
            iadd
            iload 3 /* siz */
            iload 4 /* s */
            isub
            invokevirtual org.postgresql.core.VisibleBufferedInputStream.read:([BII)I
            istore 5 /* w */
        start local 5 // int w
         3: .line 477
            iload 5 /* w */
            ifge 5
         4: .line 478
            new java.io.EOFException
            dup
            invokespecial java.io.EOFException.<init>:()V
            athrow
         5: .line 480
      StackMap locals: int
      StackMap stack:
            iload 4 /* s */
            iload 5 /* w */
            iadd
            istore 4 /* s */
        end local 5 // int w
         6: .line 475
      StackMap locals:
      StackMap stack:
            iload 4 /* s */
            iload 3 /* siz */
            if_icmplt 2
         7: .line 482
            return
        end local 4 // int s
        end local 3 // int siz
        end local 2 // int off
        end local 1 // byte[] buf
        end local 0 // org.postgresql.core.PGStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    8     0  this  Lorg/postgresql/core/PGStream;
            0    8     1   buf  [B
            0    8     2   off  I
            0    8     3   siz  I
            1    8     4     s  I
            3    6     5     w  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      buf   
      off   
      siz   

  public void skip(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=4, args_size=2
        start local 0 // org.postgresql.core.PGStream this
        start local 1 // int size
         0: .line 485
            lconst_0
            lstore 2 /* s */
        start local 2 // long s
         1: .line 486
            goto 3
         2: .line 487
      StackMap locals: long
      StackMap stack:
            lload 2 /* s */
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.pgInput:Lorg/postgresql/core/VisibleBufferedInputStream;
            iload 1 /* size */
            i2l
            lload 2 /* s */
            lsub
            invokevirtual org.postgresql.core.VisibleBufferedInputStream.skip:(J)J
            ladd
            lstore 2 /* s */
         3: .line 486
      StackMap locals:
      StackMap stack:
            lload 2 /* s */
            iload 1 /* size */
            i2l
            lcmp
            iflt 2
         4: .line 489
            return
        end local 2 // long s
        end local 1 // int size
        end local 0 // org.postgresql.core.PGStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lorg/postgresql/core/PGStream;
            0    5     1  size  I
            1    5     2     s  J
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      size  

  public void sendStream(java.io.InputStream, int);
    descriptor: (Ljava/io/InputStream;I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=8, locals=7, args_size=3
        start local 0 // org.postgresql.core.PGStream this
        start local 1 // java.io.InputStream inStream
        start local 2 // int remaining
         0: .line 499
            iload 2 /* remaining */
            istore 3 /* expectedLength */
        start local 3 // int expectedLength
         1: .line 500
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.streamBuffer:[B
            ifnonnull 25
         2: .line 501
            aload 0 /* this */
            sipush 8192
            newarray 8
            putfield org.postgresql.core.PGStream.streamBuffer:[B
         3: .line 504
            goto 25
         4: .line 505
      StackMap locals: int
      StackMap stack:
            iload 2 /* remaining */
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.streamBuffer:[B
            arraylength
            if_icmple 5
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.streamBuffer:[B
            arraylength
            goto 6
      StackMap locals:
      StackMap stack:
         5: iload 2 /* remaining */
      StackMap locals:
      StackMap stack: int
         6: istore 4 /* count */
        start local 4 // int count
         7: .line 509
            aload 1 /* inStream */
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.streamBuffer:[B
            iconst_0
            iload 4 /* count */
            invokevirtual java.io.InputStream.read:([BII)I
            istore 5 /* readCount */
        start local 5 // int readCount
         8: .line 510
            iload 5 /* readCount */
            ifge 23
         9: .line 511
            new java.io.EOFException
            dup
        10: .line 512
            ldc "Premature end of input stream, expected {0} bytes, but only read {1}."
            iconst_2
            anewarray java.lang.Object
            dup
            iconst_0
        11: .line 513
            iload 3 /* expectedLength */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            dup
            iconst_1
            iload 3 /* expectedLength */
            iload 2 /* remaining */
            isub
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
        12: .line 512
            invokestatic org.postgresql.util.GT.tr:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
        13: .line 511
            invokespecial java.io.EOFException.<init>:(Ljava/lang/String;)V
            athrow
        end local 5 // int readCount
        14: .line 515
      StackMap locals: org.postgresql.core.PGStream java.io.InputStream int int int
      StackMap stack: java.io.IOException
            astore 6 /* ioe */
        start local 6 // java.io.IOException ioe
        15: .line 516
            goto 21
        16: .line 517
      StackMap locals: org.postgresql.core.PGStream java.io.InputStream int int int top java.io.IOException
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.streamBuffer:[B
            iload 4 /* count */
            invokevirtual org.postgresql.core.PGStream.send:([BI)V
        17: .line 518
            iload 2 /* remaining */
            iload 4 /* count */
            isub
            istore 2 /* remaining */
        18: .line 519
            iload 2 /* remaining */
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.streamBuffer:[B
            arraylength
            if_icmple 19
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.streamBuffer:[B
            arraylength
            goto 20
      StackMap locals:
      StackMap stack:
        19: iload 2 /* remaining */
      StackMap locals:
      StackMap stack: int
        20: istore 4 /* count */
        21: .line 516
      StackMap locals:
      StackMap stack:
            iload 2 /* remaining */
            ifgt 16
        22: .line 521
            new org.postgresql.core.PGBindException
            dup
            aload 6 /* ioe */
            invokespecial org.postgresql.core.PGBindException.<init>:(Ljava/io/IOException;)V
            athrow
        end local 6 // java.io.IOException ioe
        start local 5 // int readCount
        23: .line 524
      StackMap locals: org.postgresql.core.PGStream java.io.InputStream int int int int
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.streamBuffer:[B
            iload 5 /* readCount */
            invokevirtual org.postgresql.core.PGStream.send:([BI)V
        24: .line 525
            iload 2 /* remaining */
            iload 5 /* readCount */
            isub
            istore 2 /* remaining */
        end local 5 // int readCount
        end local 4 // int count
        25: .line 504
      StackMap locals:
      StackMap stack:
            iload 2 /* remaining */
            ifgt 4
        26: .line 527
            return
        end local 3 // int expectedLength
        end local 2 // int remaining
        end local 1 // java.io.InputStream inStream
        end local 0 // org.postgresql.core.PGStream this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   27     0            this  Lorg/postgresql/core/PGStream;
            0   27     1        inStream  Ljava/io/InputStream;
            0   27     2       remaining  I
            1   27     3  expectedLength  I
            7   25     4           count  I
            8   14     5       readCount  I
           23   25     5       readCount  I
           15   23     6             ioe  Ljava/io/IOException;
      Exception table:
        from    to  target  type
           7    14      14  Class java.io.IOException
    Exceptions:
      throws java.io.IOException
    MethodParameters:
           Name  Flags
      inStream   
      remaining  

  public void flush();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.postgresql.core.PGStream this
         0: .line 537
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.encodingWriter:Ljava/io/Writer;
            ifnull 2
         1: .line 538
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.encodingWriter:Ljava/io/Writer;
            invokevirtual java.io.Writer.flush:()V
         2: .line 540
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.pgOutput:Ljava/io/OutputStream;
            invokevirtual java.io.OutputStream.flush:()V
         3: .line 541
            return
        end local 0 // org.postgresql.core.PGStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/postgresql/core/PGStream;
    Exceptions:
      throws java.io.IOException

  public void receiveEOF();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=2, args_size=1
        start local 0 // org.postgresql.core.PGStream this
         0: .line 550
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.pgInput:Lorg/postgresql/core/VisibleBufferedInputStream;
            invokevirtual org.postgresql.core.VisibleBufferedInputStream.read:()I
            istore 1 /* c */
        start local 1 // int c
         1: .line 551
            iload 1 /* c */
            ifge 3
         2: .line 552
            return
         3: .line 554
      StackMap locals: int
      StackMap stack:
            new org.postgresql.util.PSQLException
            dup
            ldc "Expected an EOF from server, got: {0}"
            iconst_1
            anewarray java.lang.Object
            dup
            iconst_0
            iload 1 /* c */
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            aastore
            invokestatic org.postgresql.util.GT.tr:(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
         4: .line 555
            getstatic org.postgresql.util.PSQLState.COMMUNICATION_ERROR:Lorg/postgresql/util/PSQLState;
         5: .line 554
            invokespecial org.postgresql.util.PSQLException.<init>:(Ljava/lang/String;Lorg/postgresql/util/PSQLState;)V
            athrow
        end local 1 // int c
        end local 0 // org.postgresql.core.PGStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lorg/postgresql/core/PGStream;
            1    6     1     c  I
    Exceptions:
      throws java.sql.SQLException, java.io.IOException

  public void close();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.postgresql.core.PGStream this
         0: .line 565
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.encodingWriter:Ljava/io/Writer;
            ifnull 2
         1: .line 566
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.encodingWriter:Ljava/io/Writer;
            invokevirtual java.io.Writer.close:()V
         2: .line 569
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.pgOutput:Ljava/io/OutputStream;
            invokevirtual java.io.OutputStream.close:()V
         3: .line 570
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.pgInput:Lorg/postgresql/core/VisibleBufferedInputStream;
            invokevirtual org.postgresql.core.VisibleBufferedInputStream.close:()V
         4: .line 571
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.connection:Ljava/net/Socket;
            invokevirtual java.net.Socket.close:()V
         5: .line 572
            return
        end local 0 // org.postgresql.core.PGStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lorg/postgresql/core/PGStream;
    Exceptions:
      throws java.io.IOException

  public void setNetworkTimeout(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.postgresql.core.PGStream this
        start local 1 // int milliseconds
         0: .line 575
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.connection:Ljava/net/Socket;
            iload 1 /* milliseconds */
            invokevirtual java.net.Socket.setSoTimeout:(I)V
         1: .line 576
            return
        end local 1 // int milliseconds
        end local 0 // org.postgresql.core.PGStream this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    2     0          this  Lorg/postgresql/core/PGStream;
            0    2     1  milliseconds  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
              Name  Flags
      milliseconds  

  public int getNetworkTimeout();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.postgresql.core.PGStream this
         0: .line 579
            aload 0 /* this */
            getfield org.postgresql.core.PGStream.connection:Ljava/net/Socket;
            invokevirtual java.net.Socket.getSoTimeout:()I
            ireturn
        end local 0 // org.postgresql.core.PGStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/postgresql/core/PGStream;
    Exceptions:
      throws java.io.IOException
}
SourceFile: "PGStream.java"
NestMembers:
  org.postgresql.core.PGStream$1
InnerClasses:
  public DecodeResult = org.postgresql.core.EncodingPredictor$DecodeResult of org.postgresql.core.EncodingPredictor
  org.postgresql.core.PGStream$1