getSize

abstract fun getSize(): Long
Size of the asset data before compression. To obtain the size of the data in compressed form, simply take the
length of the data field itself. This value is expressed in bytes.
uint64 size = 2;

Return

The size.