//shark-hprof/shark/StreamingRecordReaderAdapter/readRecords
[jvm]
fun readRecords(recordTypes: Set<KClass<out HprofRecord>>, listener: OnHprofRecordListener): Long
Obtains a new source to read all hprof records from and calls listener back for each record that matches one of the provided recordTypes.
the number of bytes read from the source