//leakcanary-repo/shark/HprofHeader/Companion/parseHeaderOf
parseHeaderOf¶
[jvm]\ fun parseHeaderOf(hprofFile: File): HprofHeader
Reads the header of the provided hprofFile and returns it as a HprofHeader
[jvm]\ fun parseHeaderOf(source: BufferedSource): HprofHeader
Reads the header of the provided source and returns it as a HprofHeader. This does not close the source.