public abstract class com.google.common.io.ByteSink
  minor version: 0
  major version: 59
  flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
  this_class: com.google.common.io.ByteSink
  super_class: java.lang.Object
{
  protected void <init>();
    descriptor: ()V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // com.google.common.io.ByteSink this
         0: .line 52
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // com.google.common.io.ByteSink this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lcom/google/common/io/ByteSink;

  public com.google.common.io.CharSink asCharSink(java.nio.charset.Charset);
    descriptor: (Ljava/nio/charset/Charset;)Lcom/google/common/io/CharSink;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // com.google.common.io.ByteSink this
        start local 1 // java.nio.charset.Charset charset
         0: .line 59
            new com.google.common.io.ByteSink$AsCharSink
            dup
            aload 0 /* this */
            aload 1 /* charset */
            invokespecial com.google.common.io.ByteSink$AsCharSink.<init>:(Lcom/google/common/io/ByteSink;Ljava/nio/charset/Charset;)V
            areturn
        end local 1 // java.nio.charset.Charset charset
        end local 0 // com.google.common.io.ByteSink this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    1     0     this  Lcom/google/common/io/ByteSink;
            0    1     1  charset  Ljava/nio/charset/Charset;
    MethodParameters:
         Name  Flags
      charset  

  public abstract java.io.OutputStream openStream();
    descriptor: ()Ljava/io/OutputStream;
    flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
    Exceptions:
      throws java.io.IOException

  public java.io.OutputStream openBufferedStream();
    descriptor: ()Ljava/io/OutputStream;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // com.google.common.io.ByteSink this
         0: .line 85
            aload 0 /* this */
            invokevirtual com.google.common.io.ByteSink.openStream:()Ljava/io/OutputStream;
            astore 1 /* out */
        start local 1 // java.io.OutputStream out
         1: .line 86
            aload 1 /* out */
            instanceof java.io.BufferedOutputStream
            ifeq 3
         2: .line 87
            aload 1 /* out */
            checkcast java.io.BufferedOutputStream
            goto 4
         3: .line 88
      StackMap locals: java.io.OutputStream
      StackMap stack:
            new java.io.BufferedOutputStream
            dup
            aload 1 /* out */
            invokespecial java.io.BufferedOutputStream.<init>:(Ljava/io/OutputStream;)V
         4: .line 86
      StackMap locals:
      StackMap stack: java.io.BufferedOutputStream
            areturn
        end local 1 // java.io.OutputStream out
        end local 0 // com.google.common.io.ByteSink this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lcom/google/common/io/ByteSink;
            1    5     1   out  Ljava/io/OutputStream;
    Exceptions:
      throws java.io.IOException

  public void write(byte[]);
    descriptor: ([B)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=5, args_size=2
        start local 0 // com.google.common.io.ByteSink this
        start local 1 // byte[] bytes
         0: .line 97
            aload 1 /* bytes */
            invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 99
            invokestatic com.google.common.io.Closer.create:()Lcom/google/common/io/Closer;
            astore 2 /* closer */
        start local 2 // com.google.common.io.Closer closer
         2: .line 101
            aload 2 /* closer */
            aload 0 /* this */
            invokevirtual com.google.common.io.ByteSink.openStream:()Ljava/io/OutputStream;
            invokevirtual com.google.common.io.Closer.register:(Ljava/io/Closeable;)Ljava/io/Closeable;
            checkcast java.io.OutputStream
            astore 3 /* out */
        start local 3 // java.io.OutputStream out
         3: .line 102
            aload 3 /* out */
            aload 1 /* bytes */
            invokevirtual java.io.OutputStream.write:([B)V
         4: .line 103
            aload 3 /* out */
            invokevirtual java.io.OutputStream.flush:()V
        end local 3 // java.io.OutputStream out
         5: .line 104
            goto 11
      StackMap locals: com.google.common.io.ByteSink byte[] com.google.common.io.Closer
      StackMap stack: java.lang.Throwable
         6: astore 3 /* e */
        start local 3 // java.lang.Throwable e
         7: .line 105
            aload 2 /* closer */
            aload 3 /* e */
            invokevirtual com.google.common.io.Closer.rethrow:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
            athrow
        end local 3 // java.lang.Throwable e
         8: .line 106
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 4
         9: .line 107
            aload 2 /* closer */
            invokevirtual com.google.common.io.Closer.close:()V
        10: .line 108
            aload 4
            athrow
        11: .line 107
      StackMap locals:
      StackMap stack:
            aload 2 /* closer */
            invokevirtual com.google.common.io.Closer.close:()V
        12: .line 109
            return
        end local 2 // com.google.common.io.Closer closer
        end local 1 // byte[] bytes
        end local 0 // com.google.common.io.ByteSink this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   13     0    this  Lcom/google/common/io/ByteSink;
            0   13     1   bytes  [B
            2   13     2  closer  Lcom/google/common/io/Closer;
            3    5     3     out  Ljava/io/OutputStream;
            7    8     3       e  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           2     5       6  Class java.lang.Throwable
           2     8       8  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
       Name  Flags
      bytes  

  public long writeFrom(java.io.InputStream);
    descriptor: (Ljava/io/InputStream;)J
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=9, args_size=2
        start local 0 // com.google.common.io.ByteSink this
        start local 1 // java.io.InputStream input
         0: .line 120
            aload 1 /* input */
            invokestatic com.google.common.base.Preconditions.checkNotNull:(Ljava/lang/Object;)Ljava/lang/Object;
            pop
         1: .line 122
            invokestatic com.google.common.io.Closer.create:()Lcom/google/common/io/Closer;
            astore 2 /* closer */
        start local 2 // com.google.common.io.Closer closer
         2: .line 124
            aload 2 /* closer */
            aload 0 /* this */
            invokevirtual com.google.common.io.ByteSink.openStream:()Ljava/io/OutputStream;
            invokevirtual com.google.common.io.Closer.register:(Ljava/io/Closeable;)Ljava/io/Closeable;
            checkcast java.io.OutputStream
            astore 3 /* out */
        start local 3 // java.io.OutputStream out
         3: .line 125
            aload 1 /* input */
            aload 3 /* out */
            invokestatic com.google.common.io.ByteStreams.copy:(Ljava/io/InputStream;Ljava/io/OutputStream;)J
            lstore 4 /* written */
        start local 4 // long written
         4: .line 126
            aload 3 /* out */
            invokevirtual java.io.OutputStream.flush:()V
         5: .line 127
            lload 4 /* written */
            lstore 7
         6: .line 131
            aload 2 /* closer */
            invokevirtual com.google.common.io.Closer.close:()V
         7: .line 127
            lload 7
            lreturn
        end local 4 // long written
        end local 3 // java.io.OutputStream out
         8: .line 128
      StackMap locals: com.google.common.io.ByteSink java.io.InputStream com.google.common.io.Closer
      StackMap stack: java.lang.Throwable
            astore 3 /* e */
        start local 3 // java.lang.Throwable e
         9: .line 129
            aload 2 /* closer */
            aload 3 /* e */
            invokevirtual com.google.common.io.Closer.rethrow:(Ljava/lang/Throwable;)Ljava/lang/RuntimeException;
            athrow
        end local 3 // java.lang.Throwable e
        10: .line 130
      StackMap locals:
      StackMap stack: java.lang.Throwable
            astore 6
        11: .line 131
            aload 2 /* closer */
            invokevirtual com.google.common.io.Closer.close:()V
        12: .line 132
            aload 6
            athrow
        end local 2 // com.google.common.io.Closer closer
        end local 1 // java.io.InputStream input
        end local 0 // com.google.common.io.ByteSink this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   13     0     this  Lcom/google/common/io/ByteSink;
            0   13     1    input  Ljava/io/InputStream;
            2   13     2   closer  Lcom/google/common/io/Closer;
            3    8     3      out  Ljava/io/OutputStream;
            4    8     4  written  J
            9   10     3        e  Ljava/lang/Throwable;
      Exception table:
        from    to  target  type
           2     6       8  Class java.lang.Throwable
           2     6      10  any
           8    10      10  any
    Exceptions:
      throws java.io.IOException
    RuntimeInvisibleAnnotations: 
      com.google.errorprone.annotations.CanIgnoreReturnValue()
    MethodParameters:
       Name  Flags
      input  
}
SourceFile: "ByteSink.java"
NestMembers:
  com.google.common.io.ByteSink$AsCharSink
InnerClasses:
  private final AsCharSink = com.google.common.io.ByteSink$AsCharSink of com.google.common.io.ByteSink
    RuntimeInvisibleAnnotations: 
      com.google.common.annotations.GwtIncompatible()