Skip to content
🤔 Documentation issue? Report it

//leakcanary/shark/HprofPrimitiveArrayStripper/stripPrimitiveArrays

stripPrimitiveArrays

fun stripPrimitiveArrays(inputHprofFile: File, outputHprofFile: File = File( inputHprofFile.parent, inputHprofFile.name.replace( ".hprof", "-stripped.hprof" ).let { if (it != inputHprofFile.name) it else inputHprofFile.name + "-stripped" })): File

fun stripPrimitiveArrays(hprofSourceProvider: StreamingSourceProvider, hprofSink: BufferedSink)

See also

main

shark.HprofPrimitiveArrayStripper