nRF Connect Device Manager
Toggle table of contents
3.2.0
release
Target filter
release
Switch theme
Search in API
Skip to content
nRF Connect Device Manager
mcumgr-core
/
no.nordicsemi.android.mcumgr.crash
/
CoreDumpHeader
Core
Dump
Header
open
class
CoreDumpHeader
The header of the core dump file. Contains the magic number and the core dump size for validation.
Members
Constructors
Core
Dump
Header
Link copied to clipboard
constructor
(
magic
:
Int
,
size
:
Int
)
Functions
from
Bytes
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.
get
Magic
Link copied to clipboard
open
fun
getMagic
(
)
:
Int
get
Size
Link copied to clipboard
open
fun
getSize
(
)
:
Int