شروع کنید
WEAVE_ERROR init(
uint8_t aLength,
char *aString,
System::PacketBuffer *aBuffer
)
شروع کنید
WEAVE_ERROR init(
uint8_t aLength,
char *aString
)
اپراتور==
bool operator==(
const ReferencedString &
) const
جزئیات | مولفه های | &aReferencedString | رشته ای برای بررسی |
|
ارزش های بازگشتی | true | رشته ها برابر هستند. | false | رشته ها برابر نیستند. |
|
printString
char * printString(
void
)
جزئیات | برمی گرداند | یک رشته قابل چاپ |
توابع استاتیک عمومی
تجزیه
WEAVE_ERROR parse(
MessageIterator &,
ReferencedString &
)
جزئیات | مولفه های | &i | یک تکرار کننده روی پیام در حال تجزیه. | &aString | مکانی برای قرار دادن نتیجه تجزیه. |
|
ارزش های بازگشتی | WEAVE_NO_ERROR | رشته با موفقیت تجزیه شد. | WEAVE_ERROR_INVALID_STRING_LENGTH | رشته برای بافر خیلی طولانی است (این هرگز نباید اتفاق بیفتد). |
|
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. Thread is a registered trademark of the Thread Group, Inc.
Last updated 2018-06-05 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"اطلاعاتی که نیاز دارم وجود ندارد"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"بیشازحد پیچیده/ مراحل بسیار زیاد"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"قدیمی"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"مشکل ترجمه"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"مشکل کد / نمونهها"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"غیره"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"درک آسان"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"مشکلم را برطرف کرد"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"غیره"
}]