Searched refs:keyLength (Results 1 – 1 of 1) sorted by relevance
1111 uint16_t keyLength; in AppendTo() local1121 keyLength = StringLength(mKey, static_cast<uint16_t>(kMaxKeyValueEncodedSize) + 1); in AppendTo()1123 VerifyOrExit(kMinKeyLength <= keyLength, error = kErrorInvalidArgs); in AppendTo()1128 SuccessOrExit(error = aAppender.Append<uint8_t>(static_cast<uint8_t>(keyLength))); in AppendTo()1129 error = aAppender.AppendBytes(mKey, keyLength); in AppendTo()1135 …VerifyOrExit(mValueLength + keyLength + sizeof(char) <= kMaxKeyValueEncodedSize, error = kErrorInv… in AppendTo()1137 …SuccessOrExit(error = aAppender.Append<uint8_t>(static_cast<uint8_t>(keyLength + mValueLength + si… in AppendTo()1138 SuccessOrExit(error = aAppender.AppendBytes(mKey, keyLength)); in AppendTo()