readDataByType
inline fun <T> ByteArray.readDataByType(offset: Int, dataCount: Int = 1, endian: Endian = Endian.LITTLE_ENDIAN): List<T>(source)
Multiplatform version of readDataByType.
This function reads data of type T from the ByteArray starting at offset. It uses the provided dataCount and endian parameters to convert the raw bytes.