Package-level declarations

Types

Link copied to clipboard
data class DataByteArray(val value: ByteArray = byteArrayOf()) : Parcelable

Wrapper around ByteArray. There is a problem with ByteArray when using inside data class, because it requires to generate equals() and hashCode() methods. This class do this internally so there is no need to do this again in data classes which uses DataByteArray.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun getTypeLen(formatType: FloatFormat): Int
fun getTypeLen(formatType: IntFormat): Int
fun getTypeLen(formatType: LongFormat): Int
fun getTypeLen(formatType: ValueFormat): Int

Returns the size of a give value type.

Link copied to clipboard
fun <T, R> SparseArray<T>.map(modifier: (T) -> R): SparseArray<R>
Link copied to clipboard