read Records
fun readRecords(recordTypes: Set<KClass<out HprofRecord>>, listener: OnHprofRecordListener): Long
Content copied to clipboard
Obtains a new source to read all hprof records from and calls listener back for each record that matches one of the provided recordTypes.
Return
the number of bytes read from the source