Package 

Class CacheKt

    • Method Summary

      Modifier and Type Method Description
      final static Integer sizeInKb(Object $self) Extension function to calculate the size of an object in kilobytes.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • sizeInKb

         final static Integer sizeInKb(Object $self)

        Extension function to calculate the size of an object in kilobytes.

        Supports Bitmap and ByteArray types. For other types, returns a default size of 1 kilobyte.