//leakcanary-repo/shark/RandomAccessHprofReader/Companion
Companion¶
[jvm]\ object Companion
Functions¶
Name | Summary |
---|---|
openReaderFor | [jvm] fun openReaderFor(hprofFile: File, hprofHeader: HprofHeader = HprofHeader.parseHeaderOf(hprofFile)): RandomAccessHprofReader fun openReaderFor(hprofSourceProvider: RandomAccessSourceProvider, hprofHeader: HprofHeader = hprofSourceProvider.openRandomAccessSource() .use { HprofHeader.parseHeaderOf(it.asStreamingSource()) }): RandomAccessHprofReader |