public int byteLength() {
    return 4 + bytes.size();
  }
Gets the total length of this structure in bytes, when included in a {@code Code} attribute.
The returned value includes the array size plus four bytes for {@code code_length}.

@return {@code >= 4;} the total length, in bytes
android/android_framework/dex-maker/src/main/java/com/android/dx/cf/code/BytecodeArray.java