shark-hprof / shark / HprofReader / readHprofRecords

readHprofRecords

fun readHprofRecords(recordTypes: Set<KClass<out HprofRecord>>, listener: OnHprofRecordListener): Unit

Reads all hprof records from source. Assumes the reader was has a source that currently points to the start position of hprof records.