class io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream implements io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream
  super_class: java.lang.Object
{
  private final io.vertx.core.Context context;
    descriptor: Lio/vertx/core/Context;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer> stream;
    descriptor: Lio/vertx/core/streams/ReadStream;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Lio/vertx/core/streams/ReadStream<Lio/vertx/core/buffer/Buffer;>;

  private io.vertx.core.Handler<java.lang.Throwable> exceptionHandler;
    descriptor: Lio/vertx/core/Handler;
    flags: (0x0002) ACC_PRIVATE
    Signature: Lio/vertx/core/Handler<Ljava/lang/Throwable;>;

  private final boolean cacheInMemory;
    descriptor: Z
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final io.vertx.core.buffer.Buffer cachedBuffer;
    descriptor: Lio/vertx/core/buffer/Buffer;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final boolean cacheInFile;
    descriptor: Z
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.lang.String cachedFilePath;
    descriptor: Ljava/lang/String;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private io.vertx.core.file.AsyncFile cachedFile;
    descriptor: Lio/vertx/core/file/AsyncFile;
    flags: (0x0002) ACC_PRIVATE

  private static final java.lang.String cacheFilePrefix;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "_vertx_mail_attach_"

  private static final java.lang.String cachFileSuffix;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: ".data"

  private final int size;
    descriptor: I
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    ConstantValue: 57

  private io.vertx.core.buffer.Buffer streamBuffer;
    descriptor: Lio/vertx/core/buffer/Buffer;
    flags: (0x0002) ACC_PRIVATE

  private io.vertx.core.Handler<io.vertx.core.buffer.Buffer> handler;
    descriptor: Lio/vertx/core/Handler;
    flags: (0x0002) ACC_PRIVATE
    Signature: Lio/vertx/core/Handler<Lio/vertx/core/buffer/Buffer;>;

  private io.vertx.core.Handler<java.lang.Void> endHandler;
    descriptor: Lio/vertx/core/Handler;
    flags: (0x0002) ACC_PRIVATE
    Signature: Lio/vertx/core/Handler<Ljava/lang/Void;>;

  private boolean caching;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  private final java.util.concurrent.atomic.AtomicBoolean streamEnded;
    descriptor: Ljava/util/concurrent/atomic/AtomicBoolean;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  final io.vertx.ext.mail.mailencoder.AttachmentPart this$0;
    descriptor: Lio/vertx/ext/mail/mailencoder/AttachmentPart;
    flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC

  private void <init>(io.vertx.core.Context, io.vertx.core.streams.ReadStream<io.vertx.core.buffer.Buffer>, );
    descriptor: (Lio/vertx/ext/mail/mailencoder/AttachmentPart;Lio/vertx/core/Context;Lio/vertx/core/streams/ReadStream;Z)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=4, locals=5, args_size=5
        start local 0 // io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream this
        start local 2 // io.vertx.core.Context context
        start local 3 // io.vertx.core.streams.ReadStream stream
        start local 4 // boolean tryReset
         0: .line 144
            aload 0 /* this */
            aload 1
            putfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.this$0:Lio/vertx/ext/mail/mailencoder/AttachmentPart;
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 137
            aload 0 /* this */
            bipush 57
            putfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.size:I
         2: .line 142
            aload 0 /* this */
            new java.util.concurrent.atomic.AtomicBoolean
            dup
            invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:()V
            putfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.streamEnded:Ljava/util/concurrent/atomic/AtomicBoolean;
         3: .line 145
            aload 3 /* stream */
            ldc "ReadStream cannot be null"
            invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
            pop
         4: .line 146
            aload 0 /* this */
            aload 3 /* stream */
            putfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.stream:Lio/vertx/core/streams/ReadStream;
         5: .line 147
            aload 0 /* this */
            aload 2 /* context */
            putfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.context:Lio/vertx/core/Context;
         6: .line 148
            aload 0 /* this */
            invokestatic io.vertx.core.buffer.Buffer.buffer:()Lio/vertx/core/buffer/Buffer;
            putfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.streamBuffer:Lio/vertx/core/buffer/Buffer;
         7: .line 149
            iload 4 /* tryReset */
            ifeq 19
         8: .line 151
            getstatic io.vertx.ext.mail.mailencoder.AttachmentPart.CACHE_IN_FILE:Z
            ifeq 14
         9: .line 152
            aload 0 /* this */
            iconst_1
            putfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cacheInFile:Z
        10: .line 153
            aload 0 /* this */
            aload 2 /* context */
            invokeinterface io.vertx.core.Context.owner:()Lio/vertx/core/Vertx;
            invokeinterface io.vertx.core.Vertx.fileSystem:()Lio/vertx/core/file/FileSystem;
            ldc "_vertx_mail_attach_"
            ldc ".data"
            invokeinterface io.vertx.core.file.FileSystem.createTempFileBlocking:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
            putfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cachedFilePath:Ljava/lang/String;
        11: .line 154
            aload 0 /* this */
            iconst_0
            putfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cacheInMemory:Z
        12: .line 155
            aload 0 /* this */
            aconst_null
            putfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cachedBuffer:Lio/vertx/core/buffer/Buffer;
        13: .line 156
            goto 23
        14: .line 158
      StackMap locals: io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream io.vertx.ext.mail.mailencoder.AttachmentPart io.vertx.core.Context io.vertx.core.streams.ReadStream int
      StackMap stack:
            aload 0 /* this */
            iconst_0
            putfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cacheInFile:Z
        15: .line 159
            aload 0 /* this */
            aconst_null
            putfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cachedFilePath:Ljava/lang/String;
        16: .line 160
            aload 0 /* this */
            iconst_1
            putfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cacheInMemory:Z
        17: .line 161
            aload 0 /* this */
            invokestatic io.vertx.core.buffer.Buffer.buffer:()Lio/vertx/core/buffer/Buffer;
            putfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cachedBuffer:Lio/vertx/core/buffer/Buffer;
        18: .line 163
            goto 23
        19: .line 164
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            iconst_0
            putfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cacheInMemory:Z
        20: .line 165
            aload 0 /* this */
            aconst_null
            putfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cachedBuffer:Lio/vertx/core/buffer/Buffer;
        21: .line 166
            aload 0 /* this */
            iconst_0
            putfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cacheInFile:Z
        22: .line 167
            aload 0 /* this */
            aconst_null
            putfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cachedFilePath:Ljava/lang/String;
        23: .line 169
      StackMap locals:
      StackMap stack:
            return
        end local 4 // boolean tryReset
        end local 3 // io.vertx.core.streams.ReadStream stream
        end local 2 // io.vertx.core.Context context
        end local 0 // io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   24     0      this  Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
            0   24     2   context  Lio/vertx/core/Context;
            0   24     3    stream  Lio/vertx/core/streams/ReadStream<Lio/vertx/core/buffer/Buffer;>;
            0   24     4  tryReset  Z
    Signature: (Lio/vertx/core/Context;Lio/vertx/core/streams/ReadStream<Lio/vertx/core/buffer/Buffer;>;Z)V
    MethodParameters:
          Name  Flags
      this$0    final
      context   
      stream    
      tryReset  

  public synchronized io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream exceptionHandler(io.vertx.core.Handler<java.lang.Throwable>);
    descriptor: (Lio/vertx/core/Handler;)Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream this
        start local 1 // io.vertx.core.Handler handler
         0: .line 173
            aload 1 /* handler */
            ifnull 3
         1: .line 174
            aload 0 /* this */
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.stream:Lio/vertx/core/streams/ReadStream;
            aload 1 /* handler */
            invokeinterface io.vertx.core.streams.ReadStream.exceptionHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/streams/ReadStream;
            pop
         2: .line 175
            aload 0 /* this */
            aload 1 /* handler */
            putfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.exceptionHandler:Lio/vertx/core/Handler;
         3: .line 177
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            areturn
        end local 1 // io.vertx.core.Handler handler
        end local 0 // io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    4     0     this  Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
            0    4     1  handler  Lio/vertx/core/Handler<Ljava/lang/Throwable;>;
    Signature: (Lio/vertx/core/Handler<Ljava/lang/Throwable;>;)Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
    MethodParameters:
         Name  Flags
      handler  

  public synchronized io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream handler(io.vertx.core.Handler<io.vertx.core.buffer.Buffer>);
    descriptor: (Lio/vertx/core/Handler;)Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream this
        start local 1 // io.vertx.core.Handler handler
         0: .line 182
            aload 1 /* handler */
            ifnonnull 3
         1: .line 183
            aload 0 /* this */
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.stream:Lio/vertx/core/streams/ReadStream;
            aconst_null
            invokeinterface io.vertx.core.streams.ReadStream.handler:(Lio/vertx/core/Handler;)Lio/vertx/core/streams/ReadStream;
            pop
         2: .line 184
            aload 0 /* this */
            areturn
         3: .line 186
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* handler */
            putfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.handler:Lio/vertx/core/Handler;
         4: .line 187
            aload 0 /* this */
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.stream:Lio/vertx/core/streams/ReadStream;
            aload 0 /* this */
            invokedynamic handle(Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;)Lio/vertx/core/Handler;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)V
                  io/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream.lambda$0(Lio/vertx/core/buffer/Buffer;)V (7)
                  (Lio/vertx/core/buffer/Buffer;)V
            invokeinterface io.vertx.core.streams.ReadStream.handler:(Lio/vertx/core/Handler;)Lio/vertx/core/streams/ReadStream;
            pop
         5: .line 214
            aload 0 /* this */
            areturn
        end local 1 // io.vertx.core.Handler handler
        end local 0 // io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    6     0     this  Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
            0    6     1  handler  Lio/vertx/core/Handler<Lio/vertx/core/buffer/Buffer;>;
    Signature: (Lio/vertx/core/Handler<Lio/vertx/core/buffer/Buffer;>;)Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
    RuntimeVisibleTypeAnnotations: 
      METHOD_FORMAL_PARAMETER
        io.vertx.codegen.annotations.Nullable()
    MethodParameters:
         Name  Flags
      handler  

  private synchronized io.vertx.core.Future<java.lang.Void> cacheBuffer(io.vertx.core.buffer.Buffer);
    descriptor: (Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/Future;
    flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
    Code:
      stack=4, locals=3, args_size=2
        start local 0 // io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream this
        start local 1 // io.vertx.core.buffer.Buffer buffer
         0: .line 219
            aload 0 /* this */
            iconst_1
            putfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.caching:Z
         1: .line 220
            invokestatic io.vertx.core.Promise.promise:()Lio/vertx/core/Promise;
            astore 2 /* promise */
        start local 2 // io.vertx.core.Promise promise
         2: .line 221
            aload 0 /* this */
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cacheInMemory:Z
            ifeq 6
         3: .line 222
            aload 0 /* this */
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cachedBuffer:Lio/vertx/core/buffer/Buffer;
            aload 1 /* buffer */
            invokeinterface io.vertx.core.buffer.Buffer.appendBuffer:(Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/buffer/Buffer;
            pop
         4: .line 223
            aload 2 /* promise */
            invokeinterface io.vertx.core.Promise.complete:()V
         5: .line 224
            goto 11
         6: .line 225
      StackMap locals: io.vertx.core.Promise
      StackMap stack:
            aload 0 /* this */
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cachedFile:Lio/vertx/core/file/AsyncFile;
            ifnonnull 10
         7: .line 226
            aload 0 /* this */
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.context:Lio/vertx/core/Context;
            invokeinterface io.vertx.core.Context.owner:()Lio/vertx/core/Vertx;
            invokeinterface io.vertx.core.Vertx.fileSystem:()Lio/vertx/core/file/FileSystem;
            aload 0 /* this */
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cachedFilePath:Ljava/lang/String;
            new io.vertx.core.file.OpenOptions
            dup
            invokespecial io.vertx.core.file.OpenOptions.<init>:()V
            iconst_1
            invokevirtual io.vertx.core.file.OpenOptions.setAppend:(Z)Lio/vertx/core/file/OpenOptions;
            invokeinterface io.vertx.core.file.FileSystem.open:(Ljava/lang/String;Lio/vertx/core/file/OpenOptions;)Lio/vertx/core/Future;
         8: .line 227
            aload 0 /* this */
            aload 1 /* buffer */
            aload 2 /* promise */
            invokedynamic handle(Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Promise;)Lio/vertx/core/Handler;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)V
                  io/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream.lambda$2(Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Promise;Lio/vertx/core/AsyncResult;)V (7)
                  (Lio/vertx/core/AsyncResult;)V
            invokeinterface io.vertx.core.Future.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
            pop
         9: .line 237
            goto 11
        10: .line 238
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cachedFile:Lio/vertx/core/file/AsyncFile;
            aload 1 /* buffer */
            aload 2 /* promise */
            invokeinterface io.vertx.core.file.AsyncFile.write:(Ljava/lang/Object;Lio/vertx/core/Handler;)V
        11: .line 241
      StackMap locals:
      StackMap stack:
            aload 2 /* promise */
            invokeinterface io.vertx.core.Promise.future:()Lio/vertx/core/Future;
            areturn
        end local 2 // io.vertx.core.Promise promise
        end local 1 // io.vertx.core.buffer.Buffer buffer
        end local 0 // io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   12     0     this  Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
            0   12     1   buffer  Lio/vertx/core/buffer/Buffer;
            2   12     2  promise  Lio/vertx/core/Promise<Ljava/lang/Void;>;
    Signature: (Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/Future<Ljava/lang/Void;>;
    MethodParameters:
        Name  Flags
      buffer  

  private synchronized void checkEnd();
    descriptor: ()V
    flags: (0x0022) ACC_PRIVATE, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=2, args_size=1
        start local 0 // io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream this
         0: .line 245
            aload 0 /* this */
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.streamEnded:Ljava/util/concurrent/atomic/AtomicBoolean;
            invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
            ifeq 16
            aload 0 /* this */
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.caching:Z
            ifne 16
         1: .line 246
            aload 0 /* this */
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cacheInFile:Z
            ifeq 6
         2: .line 248
            aload 0 /* this */
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.this$0:Lio/vertx/ext/mail/mailencoder/AttachmentPart;
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart.attachment:Lio/vertx/ext/mail/MailAttachment;
            aload 0 /* this */
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cachedFile:Lio/vertx/core/file/AsyncFile;
            invokeinterface io.vertx.ext.mail.MailAttachment.setStream:(Lio/vertx/core/streams/ReadStream;)Lio/vertx/ext/mail/MailAttachment;
            pop
         3: .line 249
            aload 0 /* this */
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.this$0:Lio/vertx/ext/mail/mailencoder/AttachmentPart;
            aload 0 /* this */
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cachedFilePath:Ljava/lang/String;
            putfield io.vertx.ext.mail.mailencoder.AttachmentPart.cachedFilePath:Ljava/lang/String;
         4: .line 250
            aload 0 /* this */
            aload 0 /* this */
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.endHandler:Lio/vertx/core/Handler;
            aconst_null
            invokevirtual io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.handleEventInContext:(Lio/vertx/core/Handler;Ljava/lang/Object;)V
         5: .line 251
            goto 16
      StackMap locals:
      StackMap stack:
         6: aload 0 /* this */
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cacheInMemory:Z
            ifeq 10
         7: .line 253
            aload 0 /* this */
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.this$0:Lio/vertx/ext/mail/mailencoder/AttachmentPart;
            aload 0 /* this */
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cachedBuffer:Lio/vertx/core/buffer/Buffer;
            invokeinterface io.vertx.core.buffer.Buffer.getBytes:()[B
            invokestatic io.vertx.ext.mail.mailencoder.Utils.base64:([B)Ljava/lang/String;
            putfield io.vertx.ext.mail.mailencoder.AttachmentPart.part:Ljava/lang/String;
         8: .line 254
            aload 0 /* this */
            aload 0 /* this */
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.endHandler:Lio/vertx/core/Handler;
            aconst_null
            invokevirtual io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.handleEventInContext:(Lio/vertx/core/Handler;Ljava/lang/Object;)V
         9: .line 255
            goto 16
        10: .line 257
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.this$0:Lio/vertx/ext/mail/mailencoder/AttachmentPart;
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart.cachedFilePath:Ljava/lang/String;
            ifnull 15
        11: .line 258
            aload 0 /* this */
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.this$0:Lio/vertx/ext/mail/mailencoder/AttachmentPart;
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart.cachedFilePath:Ljava/lang/String;
            astore 1 /* tmpPath */
        start local 1 // java.lang.String tmpPath
        12: .line 259
            aload 0 /* this */
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.this$0:Lio/vertx/ext/mail/mailencoder/AttachmentPart;
            aconst_null
            putfield io.vertx.ext.mail.mailencoder.AttachmentPart.cachedFilePath:Ljava/lang/String;
        13: .line 260
            aload 0 /* this */
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.context:Lio/vertx/core/Context;
            invokeinterface io.vertx.core.Context.owner:()Lio/vertx/core/Vertx;
            invokeinterface io.vertx.core.Vertx.fileSystem:()Lio/vertx/core/file/FileSystem;
            aload 1 /* tmpPath */
            invokeinterface io.vertx.core.file.FileSystem.delete:(Ljava/lang/String;)Lio/vertx/core/Future;
            aload 0 /* this */
            aload 1 /* tmpPath */
            invokedynamic handle(Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;Ljava/lang/String;)Lio/vertx/core/Handler;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)V
                  io/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream.lambda$4(Ljava/lang/String;Lio/vertx/core/AsyncResult;)V (7)
                  (Lio/vertx/core/AsyncResult;)V
            invokeinterface io.vertx.core.Future.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
            pop
        end local 1 // java.lang.String tmpPath
        14: .line 268
            goto 16
        15: .line 269
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 0 /* this */
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.endHandler:Lio/vertx/core/Handler;
            aconst_null
            invokevirtual io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.handleEventInContext:(Lio/vertx/core/Handler;Ljava/lang/Object;)V
        16: .line 273
      StackMap locals:
      StackMap stack:
            return
        end local 0 // io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   17     0     this  Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
           12   14     1  tmpPath  Ljava/lang/String;

  public synchronized io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream pause();
    descriptor: ()Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream this
         0: .line 277
            aload 0 /* this */
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.stream:Lio/vertx/core/streams/ReadStream;
            invokeinterface io.vertx.core.streams.ReadStream.pause:()Lio/vertx/core/streams/ReadStream;
            pop
         1: .line 278
            aload 0 /* this */
            areturn
        end local 0 // io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;

  public synchronized io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream resume();
    descriptor: ()Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream this
         0: .line 283
            aload 0 /* this */
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.stream:Lio/vertx/core/streams/ReadStream;
            invokeinterface io.vertx.core.streams.ReadStream.resume:()Lio/vertx/core/streams/ReadStream;
            pop
         1: .line 284
            aload 0 /* this */
            areturn
        end local 0 // io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;

  public synchronized io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream fetch(long);
    descriptor: (J)Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream this
        start local 1 // long amount
         0: .line 289
            aload 0 /* this */
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.stream:Lio/vertx/core/streams/ReadStream;
            lload 1 /* amount */
            invokeinterface io.vertx.core.streams.ReadStream.fetch:(J)Lio/vertx/core/streams/ReadStream;
            pop
         1: .line 290
            aload 0 /* this */
            areturn
        end local 1 // long amount
        end local 0 // io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    2     0    this  Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
            0    2     1  amount  J
    MethodParameters:
        Name  Flags
      amount  

  public synchronized io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream endHandler(io.vertx.core.Handler<java.lang.Void>);
    descriptor: (Lio/vertx/core/Handler;)Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
    flags: (0x0021) ACC_PUBLIC, ACC_SYNCHRONIZED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream this
        start local 1 // io.vertx.core.Handler endHandler
         0: .line 295
            aload 1 /* endHandler */
            ifnonnull 3
         1: .line 296
            aload 0 /* this */
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.stream:Lio/vertx/core/streams/ReadStream;
            aconst_null
            invokeinterface io.vertx.core.streams.ReadStream.endHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/streams/ReadStream;
            pop
         2: .line 297
            aload 0 /* this */
            areturn
         3: .line 299
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* endHandler */
            putfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.endHandler:Lio/vertx/core/Handler;
         4: .line 300
            aload 0 /* this */
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.stream:Lio/vertx/core/streams/ReadStream;
            aload 0 /* this */
            invokedynamic handle(Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;)Lio/vertx/core/Handler;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)V
                  io/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream.lambda$5(Ljava/lang/Void;)V (7)
                  (Ljava/lang/Void;)V
            invokeinterface io.vertx.core.streams.ReadStream.endHandler:(Lio/vertx/core/Handler;)Lio/vertx/core/streams/ReadStream;
            pop
         5: .line 311
            aload 0 /* this */
            areturn
        end local 1 // io.vertx.core.Handler endHandler
        end local 0 // io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    6     0        this  Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
            0    6     1  endHandler  Lio/vertx/core/Handler<Ljava/lang/Void;>;
    Signature: (Lio/vertx/core/Handler<Ljava/lang/Void;>;)Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
    RuntimeVisibleTypeAnnotations: 
      METHOD_FORMAL_PARAMETER
        io.vertx.codegen.annotations.Nullable()
    MethodParameters:
            Name  Flags
      endHandler  

  private <T> void handleEventInContext(io.vertx.core.Handler<T>, );
    descriptor: (Lio/vertx/core/Handler;Ljava/lang/Object;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream this
        start local 1 // io.vertx.core.Handler handler
        start local 2 // java.lang.Object t
         0: .line 315
            aload 1 /* handler */
            ifnull 2
         1: .line 316
            aload 0 /* this */
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.context:Lio/vertx/core/Context;
            aload 1 /* handler */
            aload 2 /* t */
            invokedynamic handle(Lio/vertx/core/Handler;Ljava/lang/Object;)Lio/vertx/core/Handler;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)V
                  io/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream.lambda$6(Lio/vertx/core/Handler;Ljava/lang/Object;Ljava/lang/Void;)V (6)
                  (Ljava/lang/Void;)V
            invokeinterface io.vertx.core.Context.runOnContext:(Lio/vertx/core/Handler;)V
         2: .line 318
      StackMap locals:
      StackMap stack:
            return
        end local 2 // java.lang.Object t
        end local 1 // io.vertx.core.Handler handler
        end local 0 // io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    3     0     this  Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
            0    3     1  handler  Lio/vertx/core/Handler<TT;>;
            0    3     2        t  TT;
    Signature: <T:Ljava/lang/Object;>(Lio/vertx/core/Handler<TT;>;TT;)V
    MethodParameters:
         Name  Flags
      handler  
      t        

  public io.vertx.core.streams.ReadStream pause();
    descriptor: ()Lio/vertx/core/streams/ReadStream;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
         0: .line 1
            aload 0
            invokevirtual io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.pause:()Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public io.vertx.core.streams.ReadStream handler(io.vertx.core.Handler);
    descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/streams/ReadStream;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
         0: .line 1
            aload 0
            aload 1
            checkcast io.vertx.core.Handler
            invokevirtual io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.handler:(Lio/vertx/core/Handler;)Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public io.vertx.core.streams.ReadStream endHandler(io.vertx.core.Handler);
    descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/streams/ReadStream;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
         0: .line 1
            aload 0
            aload 1
            invokevirtual io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.endHandler:(Lio/vertx/core/Handler;)Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public io.vertx.core.streams.ReadStream resume();
    descriptor: ()Lio/vertx/core/streams/ReadStream;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
         0: .line 1
            aload 0
            invokevirtual io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.resume:()Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public io.vertx.core.streams.ReadStream fetch(long);
    descriptor: (J)Lio/vertx/core/streams/ReadStream;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=3, locals=3, args_size=2
         0: .line 1
            aload 0
            lload 1
            invokevirtual io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.fetch:(J)Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public io.vertx.core.streams.StreamBase exceptionHandler(io.vertx.core.Handler);
    descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/streams/StreamBase;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
         0: .line 1
            aload 0
            aload 1
            invokevirtual io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.exceptionHandler:(Lio/vertx/core/Handler;)Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public io.vertx.core.streams.ReadStream exceptionHandler(io.vertx.core.Handler);
    descriptor: (Lio/vertx/core/Handler;)Lio/vertx/core/streams/ReadStream;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
         0: .line 1
            aload 0
            aload 1
            invokevirtual io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.exceptionHandler:(Lio/vertx/core/Handler;)Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private void lambda$0(io.vertx.core.buffer.Buffer);
    descriptor: (Lio/vertx/core/buffer/Buffer;)V
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=5, locals=6, args_size=2
        start local 0 // io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream this
        start local 1 // io.vertx.core.buffer.Buffer b
         0: .line 188
            aload 0 /* this */
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.streamEnded:Ljava/util/concurrent/atomic/AtomicBoolean;
            invokevirtual java.util.concurrent.atomic.AtomicBoolean.get:()Z
            ifeq 3
         1: .line 189
            aload 0 /* this */
            aload 0 /* this */
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.exceptionHandler:Lio/vertx/core/Handler;
            new java.lang.IllegalStateException
            dup
            ldc "Stream has been closed, no more reading."
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            invokevirtual io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.handleEventInContext:(Lio/vertx/core/Handler;Ljava/lang/Object;)V
         2: .line 190
            return
         3: .line 192
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.streamBuffer:Lio/vertx/core/buffer/Buffer;
            aload 1 /* b */
            invokeinterface io.vertx.core.buffer.Buffer.appendBuffer:(Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/buffer/Buffer;
            astore 2 /* buffer */
        start local 2 // io.vertx.core.buffer.Buffer buffer
         4: .line 193
            invokestatic io.vertx.core.buffer.Buffer.buffer:()Lio/vertx/core/buffer/Buffer;
            astore 3 /* bufferToSent */
        start local 3 // io.vertx.core.buffer.Buffer bufferToSent
         5: .line 194
            iconst_0
            istore 4 /* start */
        start local 4 // int start
         6: .line 195
            goto 10
         7: .line 196
      StackMap locals: io.vertx.core.buffer.Buffer io.vertx.core.buffer.Buffer int
      StackMap stack:
            aload 2 /* buffer */
            iload 4 /* start */
            iload 4 /* start */
            bipush 57
            iadd
            invokeinterface io.vertx.core.buffer.Buffer.getBytes:(II)[B
            invokestatic io.vertx.ext.mail.mailencoder.Utils.base64:([B)Ljava/lang/String;
            astore 5 /* theLine */
        start local 5 // java.lang.String theLine
         8: .line 197
            aload 3 /* bufferToSent */
            new java.lang.StringBuilder
            dup
            aload 5 /* theLine */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc "\r\n"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokestatic io.vertx.core.buffer.Buffer.buffer:(Ljava/lang/String;)Lio/vertx/core/buffer/Buffer;
            invokeinterface io.vertx.core.buffer.Buffer.appendBuffer:(Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/buffer/Buffer;
            pop
         9: .line 198
            iinc 4 /* start */ 57
        end local 5 // java.lang.String theLine
        10: .line 195
      StackMap locals:
      StackMap stack:
            iload 4 /* start */
            bipush 57
            iadd
            aload 2 /* buffer */
            invokeinterface io.vertx.core.buffer.Buffer.length:()I
            if_icmplt 7
        11: .line 200
            aload 0 /* this */
            aload 2 /* buffer */
            iload 4 /* start */
            aload 2 /* buffer */
            invokeinterface io.vertx.core.buffer.Buffer.length:()I
            invokeinterface io.vertx.core.buffer.Buffer.getBuffer:(II)Lio/vertx/core/buffer/Buffer;
            putfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.streamBuffer:Lio/vertx/core/buffer/Buffer;
        12: .line 201
            aload 0 /* this */
            aload 0 /* this */
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.handler:Lio/vertx/core/Handler;
            aload 3 /* bufferToSent */
            invokevirtual io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.handleEventInContext:(Lio/vertx/core/Handler;Ljava/lang/Object;)V
        13: .line 202
            aload 0 /* this */
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cacheInMemory:Z
            ifne 14
            aload 0 /* this */
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cacheInFile:Z
            ifeq 15
        14: .line 203
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* b */
            invokevirtual io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cacheBuffer:(Lio/vertx/core/buffer/Buffer;)Lio/vertx/core/Future;
            aload 0 /* this */
            invokedynamic handle(Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;)Lio/vertx/core/Handler;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)V
                  io/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream.lambda$1(Lio/vertx/core/AsyncResult;)V (7)
                  (Lio/vertx/core/AsyncResult;)V
            invokeinterface io.vertx.core.Future.onComplete:(Lio/vertx/core/Handler;)Lio/vertx/core/Future;
            pop
        end local 4 // int start
        end local 3 // io.vertx.core.buffer.Buffer bufferToSent
        end local 2 // io.vertx.core.buffer.Buffer buffer
        15: .line 213
      StackMap locals:
      StackMap stack:
            return
        end local 1 // io.vertx.core.buffer.Buffer b
        end local 0 // io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0   16     0          this  Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
            0   16     1             b  Lio/vertx/core/buffer/Buffer;
            4   15     2        buffer  Lio/vertx/core/buffer/Buffer;
            5   15     3  bufferToSent  Lio/vertx/core/buffer/Buffer;
            6   15     4         start  I
            8   10     5       theLine  Ljava/lang/String;

  private void lambda$2(io.vertx.core.buffer.Buffer, io.vertx.core.Promise, io.vertx.core.AsyncResult);
    descriptor: (Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Promise;Lio/vertx/core/AsyncResult;)V
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=5, locals=4, args_size=4
        start local 0 // io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream this
        start local 3 // io.vertx.core.AsyncResult c
         0: .line 227
            aload 0 /* this */
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.context:Lio/vertx/core/Context;
            aload 0 /* this */
            aload 3 /* c */
            aload 1
            aload 2
            invokedynamic handle(Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;Lio/vertx/core/AsyncResult;Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Promise;)Lio/vertx/core/Handler;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)V
                  io/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream.lambda$3(Lio/vertx/core/AsyncResult;Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Promise;Ljava/lang/Void;)V (7)
                  (Ljava/lang/Void;)V
            invokeinterface io.vertx.core.Context.runOnContext:(Lio/vertx/core/Handler;)V
         1: .line 236
            return
        end local 3 // io.vertx.core.AsyncResult c
        end local 0 // io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
            0    2     3     c  Lio/vertx/core/AsyncResult<Lio/vertx/core/file/AsyncFile;>;

  private void lambda$4(java.lang.String, io.vertx.core.AsyncResult);
    descriptor: (Ljava/lang/String;Lio/vertx/core/AsyncResult;)V
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=3, locals=3, args_size=3
        start local 0 // io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream this
        start local 2 // io.vertx.core.AsyncResult deleteCacheFile
         0: .line 261
            aload 2 /* deleteCacheFile */
            invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
            ifeq 3
         1: .line 262
            aload 0 /* this */
            aload 0 /* this */
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.endHandler:Lio/vertx/core/Handler;
            aconst_null
            invokevirtual io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.handleEventInContext:(Lio/vertx/core/Handler;Ljava/lang/Object;)V
         2: .line 263
            goto 5
         3: .line 264
      StackMap locals:
      StackMap stack:
            new java.io.File
            dup
            aload 1
            invokespecial java.io.File.<init>:(Ljava/lang/String;)V
            invokevirtual java.io.File.deleteOnExit:()V
         4: .line 265
            aload 0 /* this */
            aload 0 /* this */
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.exceptionHandler:Lio/vertx/core/Handler;
            aload 2 /* deleteCacheFile */
            invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
            invokevirtual io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.handleEventInContext:(Lio/vertx/core/Handler;Ljava/lang/Object;)V
         5: .line 267
      StackMap locals:
      StackMap stack:
            return
        end local 2 // io.vertx.core.AsyncResult deleteCacheFile
        end local 0 // io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0    6     0             this  Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
            0    6     2  deleteCacheFile  Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;

  private void lambda$5(java.lang.Void);
    descriptor: (Ljava/lang/Void;)V
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=3, locals=4, args_size=2
        start local 0 // io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream this
        start local 1 // java.lang.Void v
         0: .line 301
            aload 0 /* this */
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.streamEnded:Ljava/util/concurrent/atomic/AtomicBoolean;
            iconst_0
            iconst_1
            invokevirtual java.util.concurrent.atomic.AtomicBoolean.compareAndSet:(ZZ)Z
            ifne 2
         1: .line 302
            return
         2: .line 304
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.streamBuffer:Lio/vertx/core/buffer/Buffer;
            invokeinterface io.vertx.core.buffer.Buffer.length:()I
            ifle 6
            aload 0 /* this */
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.handler:Lio/vertx/core/Handler;
            ifnull 6
         3: .line 305
            aload 0 /* this */
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.streamBuffer:Lio/vertx/core/buffer/Buffer;
            invokeinterface io.vertx.core.buffer.Buffer.getBytes:()[B
            invokestatic io.vertx.ext.mail.mailencoder.Utils.base64:([B)Ljava/lang/String;
            astore 2 /* theLine */
        start local 2 // java.lang.String theLine
         4: .line 306
            new java.lang.StringBuilder
            dup
            aload 2 /* theLine */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc "\r\n"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokestatic io.vertx.core.buffer.Buffer.buffer:(Ljava/lang/String;)Lio/vertx/core/buffer/Buffer;
            astore 3 /* buffer */
        start local 3 // io.vertx.core.buffer.Buffer buffer
         5: .line 307
            aload 0 /* this */
            aload 0 /* this */
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.handler:Lio/vertx/core/Handler;
            aload 3 /* buffer */
            invokevirtual io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.handleEventInContext:(Lio/vertx/core/Handler;Ljava/lang/Object;)V
        end local 3 // io.vertx.core.buffer.Buffer buffer
        end local 2 // java.lang.String theLine
         6: .line 309
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.checkEnd:()V
         7: .line 310
            return
        end local 1 // java.lang.Void v
        end local 0 // io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    8     0     this  Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
            0    8     1        v  Ljava/lang/Void;
            4    6     2  theLine  Ljava/lang/String;
            5    6     3   buffer  Lio/vertx/core/buffer/Buffer;

  private static void lambda$6(io.vertx.core.Handler, java.lang.Object, java.lang.Void);
    descriptor: (Lio/vertx/core/Handler;Ljava/lang/Object;Ljava/lang/Void;)V
    flags: (0x100a) ACC_PRIVATE, ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=2, locals=3, args_size=3
        start local 2 // java.lang.Void h
         0: .line 316
            aload 0
            aload 1
            invokeinterface io.vertx.core.Handler.handle:(Ljava/lang/Object;)V
            return
        end local 2 // java.lang.Void h
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     2     h  Ljava/lang/Void;

  private void lambda$1(io.vertx.core.AsyncResult);
    descriptor: (Lio/vertx/core/AsyncResult;)V
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=3, locals=3, args_size=2
        start local 0 // io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream this
        start local 1 // io.vertx.core.AsyncResult r
         0: .line 204
            aload 0 /* this */
            dup
            astore 2
            monitorenter
         1: .line 205
            aload 0 /* this */
            iconst_0
            putfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.caching:Z
         2: .line 206
            aload 1 /* r */
            invokeinterface io.vertx.core.AsyncResult.failed:()Z
            ifeq 4
         3: .line 207
            aload 0 /* this */
            aload 0 /* this */
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.exceptionHandler:Lio/vertx/core/Handler;
            aload 1 /* r */
            invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
            invokevirtual io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.handleEventInContext:(Lio/vertx/core/Handler;Ljava/lang/Object;)V
         4: .line 209
      StackMap locals: io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream
      StackMap stack:
            aload 0 /* this */
            invokevirtual io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.checkEnd:()V
         5: .line 204
            aload 2
            monitorexit
         6: goto 9
      StackMap locals:
      StackMap stack: java.lang.Throwable
         7: aload 2
            monitorexit
         8: athrow
         9: .line 211
      StackMap locals:
      StackMap stack:
            return
        end local 1 // io.vertx.core.AsyncResult r
        end local 0 // io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   10     0  this  Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
            0   10     1     r  Lio/vertx/core/AsyncResult<Ljava/lang/Void;>;
      Exception table:
        from    to  target  type
           1     6       7  any
           7     8       7  any

  private void lambda$3(io.vertx.core.AsyncResult, io.vertx.core.buffer.Buffer, io.vertx.core.Promise, java.lang.Void);
    descriptor: (Lio/vertx/core/AsyncResult;Lio/vertx/core/buffer/Buffer;Lio/vertx/core/Promise;Ljava/lang/Void;)V
    flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
    Code:
      stack=3, locals=6, args_size=5
        start local 0 // io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream this
        start local 4 // java.lang.Void h
         0: .line 228
            aload 1
            invokeinterface io.vertx.core.AsyncResult.succeeded:()Z
            ifeq 8
         1: .line 229
            aload 0 /* this */
            dup
            astore 5
            monitorenter
         2: .line 230
            aload 0 /* this */
            aload 1
            invokeinterface io.vertx.core.AsyncResult.result:()Ljava/lang/Object;
            checkcast io.vertx.core.file.AsyncFile
            putfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cachedFile:Lio/vertx/core/file/AsyncFile;
         3: .line 231
            aload 0 /* this */
            getfield io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream.cachedFile:Lio/vertx/core/file/AsyncFile;
            aload 2
            aload 3
            invokeinterface io.vertx.core.file.AsyncFile.write:(Ljava/lang/Object;Lio/vertx/core/Handler;)V
         4: .line 229
            aload 5
            monitorexit
         5: goto 9
      StackMap locals: io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream io.vertx.core.AsyncResult io.vertx.core.buffer.Buffer io.vertx.core.Promise java.lang.Void io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream
      StackMap stack: java.lang.Throwable
         6: aload 5
            monitorexit
         7: athrow
         8: .line 234
      StackMap locals:
      StackMap stack:
            aload 3
            aload 1
            invokeinterface io.vertx.core.AsyncResult.cause:()Ljava/lang/Throwable;
            invokeinterface io.vertx.core.Promise.fail:(Ljava/lang/Throwable;)V
         9: .line 236
      StackMap locals:
      StackMap stack:
            return
        end local 4 // java.lang.Void h
        end local 0 // io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   10     0  this  Lio/vertx/ext/mail/mailencoder/AttachmentPart$BodyReadStream;
            0   10     4     h  Ljava/lang/Void;
      Exception table:
        from    to  target  type
           2     5       6  any
           6     7       6  any
}
Signature: Ljava/lang/Object;Lio/vertx/core/streams/ReadStream<Lio/vertx/core/buffer/Buffer;>;
SourceFile: "AttachmentPart.java"
NestHost: io.vertx.ext.mail.mailencoder.AttachmentPart
InnerClasses:
  private BodyReadStream = io.vertx.ext.mail.mailencoder.AttachmentPart$BodyReadStream of io.vertx.ext.mail.mailencoder.AttachmentPart
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles