ESP-IDF
ot::Data::GetBytes() const
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (4/5)...
Files
loading (3/5)...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ot::Data::GetBytes() const
ot::Data::GetBytes() const method
Returns a pointer to the data bytes buffer.
Syntax
Show:
Summary
Declaration
from
data.hpp:159
const
uint8_t
*
GetBytes
(
void
)
const
;
Return value
A pointer to the data bytes buffer (can be `nullptr` if `Data` is cleared).
Examples
References
from
examples
Code
Location
Scope
Referrer
const
uint8_t
*
GetBytes
(
void
)
const
{
return
mBuffer
;
}
data.hpp:159
memcpy
(
aBuffer
,
GetBytes
(
)
,
aLength
)
;
frame_data.cpp:92
ot::FrameData
ot::FrameData::ReadBytes()
void
FrameData
::
SkipOver
(
uint16_t
aLength
)
{
Init
(
GetBytes
(
)
+
aLength
,
GetLength
(
)
-
aLength
)
;
}
frame_data.cpp:99
ot::FrameData
ot::FrameData::SkipOver()
return
(
aFrameData
.
GetLength
(
)
>
0
)
&&
IsLowpanHc
(
aFrameData
.
GetBytes
(
)
)
;
lowpan.hpp:117
ot::Lowpan::Lowpan
ot::Lowpan::Lowpan::IsLowpanHc()
uint8_t
*
GetBytes
(
void
)
{
return
AsNonConst
(
Chunk
::
GetBytes
(
)
)
;
}
message.hpp:1529
ot::Message::MutableChunk
ot::Message::MutableChunk::GetBytes()
return
(
mData
.
GetBytes
(
)
!=
nullptr
)
&&
(
mData
.
GetLength
(
)
>=
sizeof
(
Header
)
)
&&
nd6.hpp:736
ot::Ip6::Nd::RouterAdvert::RxMessage
ot::Ip6::Nd::RouterAdvert::RxMessage::IsValid() const
const
Header
&
GetHeader
(
void
)
const
{
return
*
reinterpret_cast
<
const
Header
*
>
(
mData
.
GetBytes
(
)
)
;
}
nd6.hpp:745
ot::Ip6::Nd::RouterAdvert::RxMessage
ot::Ip6::Nd::RouterAdvert::RxMessage::GetHeader() const
const
uint8_t
*
GetOptionStart
(
void
)
const
{
return
(
mData
.
GetBytes
(
)
+
sizeof
(
Header
)
)
;
}
nd6.hpp:760
ot::Ip6::Nd::RouterAdvert::RxMessage
ot::Ip6::Nd::RouterAdvert::RxMessage::GetOptionStart() const
const
uint8_t
*
GetDataEnd
(
void
)
const
{
return
mData
.
GetBytes
(
)
+
mData
.
GetLength
(
)
;
}
nd6.hpp:776
ot::Ip6::Nd::RouterAdvert::RxMessage
ot::Ip6::Nd::RouterAdvert::RxMessage::GetDataEnd() const
Call Tree
from
examples
ot::Data::GetBytes() const
is called by 8 functions:
ot::Message::MutableChunk::GetBytes()
ot::Lowpan::Lowpan::IsLowpanHc()
ot::Ip6::Nd::RouterAdvert::RxMessage::IsValid() const
ot::Ip6::Nd::RouterAdvert::RxMessage::GetHeader() const
ot::Ip6::Nd::RouterAdvert::RxMessage::GetOptionStart() const
ot::Ip6::Nd::RouterAdvert::RxMessage::GetDataEnd() const
ot::FrameData::ReadBytes()
ot::FrameData::SkipOver()
All items filtered out
ot::Data::GetBytes() const
All items filtered out
Data Use
from
examples
ot::Data::GetBytes() const
reads 1 variable:
ot::Data::mBuffer
All items filtered out
ot::Data::GetBytes() const
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out