shark-hprof / shark / HprofHeader / parseHeaderOf

parseHeaderOf

fun parseHeaderOf(hprofFile: File): HprofHeader

Reads the header of the provided hprofFile and returns it as a HprofHeader

fun parseHeaderOf(source: BufferedSource): HprofHeader

Reads the header of the provided source and returns it as a HprofHeader. This does not close the source.