Searched refs:CanRead (Results 1 – 3 of 3) sorted by relevance
62 bool CanRead(uint16_t aLength) const { return GetLength() >= aLength; } in CanRead() function in ot::FrameData
91 VerifyOrExit(CanRead(aLength), error = kErrorParse); in ReadBytes()
839 VerifyOrExit(aFrameData.CanRead(len + 1)); in DecompressExtensionHeader()847 VerifyOrExit(aFrameData.CanRead(len)); in DecompressExtensionHeader()