Set the point to after any data currently in the buffer.
finishWriting
void finishWriting(
void
)
Adjust the buffer after writing.
hasData
bool hasData(
uint16_t
)
Details
Parameters
inc
An integer amount that may be read from the buffer.
Return Values
true
The buffer's current data length is greater than or equal to the given increment.
false
Otherwise.
hasRoom
bool hasRoom(
uint16_t
)
Details
Parameters
inc
An integer amount that may be written to the buffer.
Return Values
true
The difference between the buffer's current data length and its maximum allowable data length, (its available data length), is less than or equal to the given increment.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates. The OPENTHREAD and related marks are trademarks of the Thread Group and are used under license.
Last updated 2018-06-05 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2018-06-05 UTC."],[],[]]