ot::FrameData::ReadBytes() method
Reads a given number of bytes from the `FrameData`. If read successfully, the `FrameData` is updated to skip over the read content.
Arguments
aBuffer
The buffer to copy the read bytes into.
aLength
Number of bytes to read.
Return value
kErrorNone Successfully read @p aLength bytes into @p aBuffer and skipped over them. kErrorParse Not enough bytes remaining to read @p aLength.
ot::FrameData::ReadBytes() is called by 6 functions and calls 3 functions:
![]()
ot::FrameData::ReadBytes()
ot::FrameData::ReadBytes() reads 2 variables:
![]()
ot::FrameData::ReadBytes()