MethodSizeAccountable

Kotlin and Java impose a method bytecode size limit of 65535 (64 KiB).

When generating large icons, it's crucial to consider this constraint.

For a deeper understanding, refer to the section Limitations of the Java Virtual Machine and The Java® Virtual Machine Specification.

Inheritors

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val approximateByteSize: Int

Represents the approximate bytecode size accounted for by the current type or instruction within a method.