CoreDumpHeader

open class CoreDumpHeader

The header of the core dump file. Contains the magic number and the core dump size for validation.

Constructors

Link copied to clipboard
constructor(magic: Int, size: Int)

Functions

Link copied to clipboard
@NotNull
open fun fromBytes(data: @NotNull Array<Byte>): @NotNull CoreDumpHeader
Parse the core dump header from the default offset of 0.
@NotNull
open fun fromBytes(data: @NotNull Array<Byte>, offset: Int): @NotNull CoreDumpHeader
Parse the core dump header from a given offset.
Link copied to clipboard
open fun getMagic(): Int
Link copied to clipboard
open fun getSize(): Int