CoreDumpTlv

open class CoreDumpTlv

Represents a collection of type length value entries for a core dump file.

Constructors

Link copied to clipboard
constructor(@NotNull entries: @NotNull List<CoreDumpTlvEntry>)

Functions

Link copied to clipboard
@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.
@NotNull
open fun fromBytes(data: @NotNull Array<Byte>, offset: Int): @NotNull CoreDumpTlv
Parse the core dump TLV from core dump data from an offset.
Link copied to clipboard
@NotNull
open fun getEntries(): @NotNull List<CoreDumpTlvEntry>
Get the list of core dump TLV entries.
Link copied to clipboard
@NotNull
open fun getEntriesOfType(type: Int): @NotNull List<CoreDumpTlvEntry>
Get all entries in the TLV which match the given type.
Link copied to clipboard
@Nullable
open fun getEntryOfType(type: Int): @Nullable CoreDumpTlvEntry
Get the first entry in the TLV which matches the given type.
Link copied to clipboard
open fun getSize(): Int