fromBytes

@NotNull
open fun fromBytes(data: @NotNull Array<Byte>): @NotNull CoreDumpTlv

Parse the core dump TLV from core dump data from the default offset of 8.

Return

The core dump TLV.

Parameters

data

The entire core dump file.

Throws

If parsing TLV entries encountered an error.


@NotNull
open fun fromBytes(data: @NotNull Array<Byte>, offset: Int): @NotNull CoreDumpTlv

Parse the core dump TLV from core dump data from an offset.

Return

The core dump TLV.

Parameters

data

The core dump data.

offset

The offset to start parsing the TLV from.

Throws

If parsing TLV entries encountered an error.