class android.media.midi.MidiPortImpl
  minor version: 0
  major version: 59
  flags: flags: (0x0020) ACC_SUPER
  this_class: android.media.midi.MidiPortImpl
  super_class: java.lang.Object
{
  private static final java.lang.String TAG;
    descriptor: Ljava/lang/String;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: "MidiPort"

  public static final int PACKET_TYPE_DATA;
    descriptor: I
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: 1

  public static final int PACKET_TYPE_FLUSH;
    descriptor: I
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: 2

  public static final int MAX_PACKET_SIZE;
    descriptor: I
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: 1024

  private static final int TIMESTAMP_SIZE;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 8

  private static final int DATA_PACKET_OVERHEAD;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 9

  public static final int MAX_PACKET_DATA_SIZE;
    descriptor: I
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: 1015

  void <init>();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // android.media.midi.MidiPortImpl this
         0: .line 23
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // android.media.midi.MidiPortImpl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Landroid/media/midi/MidiPortImpl;

  public static int packData(byte[], int, int, long, byte[]);
    descriptor: ([BIIJ[B)I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=5, locals=8, args_size=5
        start local 0 // byte[] message
        start local 1 // int offset
        start local 2 // int size
        start local 3 // long timestamp
        start local 5 // byte[] dest
         0: .line 67
            iload 2 /* size */
            sipush 1015
            if_icmple 2
         1: .line 68
            sipush 1015
            istore 2 /* size */
         2: .line 70
      StackMap locals:
      StackMap stack:
            iconst_0
            istore 6 /* length */
        start local 6 // int length
         3: .line 72
            aload 5 /* dest */
            iload 6 /* length */
            iinc 6 /* length */ 1
            iconst_1
            bastore
         4: .line 74
            aload 0 /* message */
            iload 1 /* offset */
            aload 5 /* dest */
            iload 6 /* length */
            iload 2 /* size */
            invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
         5: .line 75
            iload 6 /* length */
            iload 2 /* size */
            iadd
            istore 6 /* length */
         6: .line 78
            iconst_0
            istore 7 /* i */
        start local 7 // int i
         7: goto 11
         8: .line 79
      StackMap locals: int int
      StackMap stack:
            aload 5 /* dest */
            iload 6 /* length */
            iinc 6 /* length */ 1
            lload 3 /* timestamp */
            l2i
            i2b
            bastore
         9: .line 80
            lload 3 /* timestamp */
            bipush 8
            lshr
            lstore 3 /* timestamp */
        10: .line 78
            iinc 7 /* i */ 1
      StackMap locals:
      StackMap stack:
        11: iload 7 /* i */
            bipush 8
            if_icmplt 8
        end local 7 // int i
        12: .line 83
            iload 6 /* length */
            ireturn
        end local 6 // int length
        end local 5 // byte[] dest
        end local 3 // long timestamp
        end local 2 // int size
        end local 1 // int offset
        end local 0 // byte[] message
      LocalVariableTable:
        Start  End  Slot       Name  Signature
            0   13     0    message  [B
            0   13     1     offset  I
            0   13     2       size  I
            0   13     3  timestamp  J
            0   13     5       dest  [B
            3   13     6     length  I
            7   12     7          i  I
    MethodParameters:
           Name  Flags
      message    
      offset     
      size       
      timestamp  
      dest       

  public static int packFlush(byte[]);
    descriptor: ([B)I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // byte[] dest
         0: .line 90
            aload 0 /* dest */
            iconst_0
            iconst_2
            bastore
         1: .line 91
            iconst_1
            ireturn
        end local 0 // byte[] dest
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  dest  [B
    MethodParameters:
      Name  Flags
      dest  

  public static int getPacketType(byte[], int);
    descriptor: ([BI)I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // byte[] buffer
        start local 1 // int bufferLength
         0: .line 98
            aload 0 /* buffer */
            iconst_0
            baload
            ireturn
        end local 1 // int bufferLength
        end local 0 // byte[] buffer
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    1     0        buffer  [B
            0    1     1  bufferLength  I
    MethodParameters:
              Name  Flags
      buffer        
      bufferLength  

  public static int getDataOffset(byte[], int);
    descriptor: ([BI)I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=1, locals=2, args_size=2
        start local 0 // byte[] buffer
        start local 1 // int bufferLength
         0: .line 107
            iconst_1
            ireturn
        end local 1 // int bufferLength
        end local 0 // byte[] buffer
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    1     0        buffer  [B
            0    1     1  bufferLength  I
    MethodParameters:
              Name  Flags
      buffer        
      bufferLength  

  public static int getDataSize(byte[], int);
    descriptor: ([BI)I
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // byte[] buffer
        start local 1 // int bufferLength
         0: .line 116
            iload 1 /* bufferLength */
            bipush 9
            isub
            ireturn
        end local 1 // int bufferLength
        end local 0 // byte[] buffer
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    1     0        buffer  [B
            0    1     1  bufferLength  I
    MethodParameters:
              Name  Flags
      buffer        
      bufferLength  

  public static long getPacketTimestamp(byte[], int);
    descriptor: ([BI)J
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=4, locals=7, args_size=2
        start local 0 // byte[] buffer
        start local 1 // int bufferLength
         0: .line 125
            iload 1 /* bufferLength */
            istore 2 /* offset */
        start local 2 // int offset
         1: .line 126
            lconst_0
            lstore 3 /* timestamp */
        start local 3 // long timestamp
         2: .line 128
            iconst_0
            istore 5 /* i */
        start local 5 // int i
         3: goto 7
         4: .line 129
      StackMap locals: int long int
      StackMap stack:
            aload 0 /* buffer */
            iinc 2 /* offset */ -1
            iload 2 /* offset */
            baload
            sipush 255
            iand
            istore 6 /* b */
        start local 6 // int b
         5: .line 130
            lload 3 /* timestamp */
            bipush 8
            lshl
            iload 6 /* b */
            i2l
            lor
            lstore 3 /* timestamp */
        end local 6 // int b
         6: .line 128
            iinc 5 /* i */ 1
      StackMap locals:
      StackMap stack:
         7: iload 5 /* i */
            bipush 8
            if_icmplt 4
        end local 5 // int i
         8: .line 132
            lload 3 /* timestamp */
            lreturn
        end local 3 // long timestamp
        end local 2 // int offset
        end local 1 // int bufferLength
        end local 0 // byte[] buffer
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    9     0        buffer  [B
            0    9     1  bufferLength  I
            1    9     2        offset  I
            2    9     3     timestamp  J
            3    8     5             i  I
            5    6     6             b  I
    MethodParameters:
              Name  Flags
      buffer        
      bufferLength  
}
SourceFile: "MidiPortImpl.java"