//leakcanary/shark/StreamingHprofReader
StreamingHprofReader¶
class StreamingHprofReader
Reads the entire content of a Hprof source in one fell swoop. Call readerFor to obtain a new instance.
Types¶
Name | Summary |
---|---|
Companion | object Companion |
Functions¶
Name | Summary |
---|---|
readRecords | 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. |
Extensions¶
Name | Summary |
---|---|
asStreamingRecordReader | fun StreamingHprofReader.asStreamingRecordReader(): StreamingRecordReaderAdapter |