//leakcanary-repo/shark/StreamingHprofReader/readRecords
readRecords¶
[jvm]\ fun readRecords(recordTags: Set<HprofRecordTag>, listener: OnHprofRecordTagListener): Long
Obtains a new source to read all hprof records from and calls listener back for each record that matches one of the provided recordTags.
Return¶
the number of bytes read from the source