Searched refs:newLen (Results 1 – 1 of 1) sorted by relevance
87 uint8_t newLen = static_cast<uint8_t>(StringLength(data.GetBuffer(), data.GetLength())); in Set() local89 VerifyOrExit(newLen <= kMaxSize, error = kErrorInvalidArgs); in Set()91 data.SetLength(newLen); in Set()94 if (data.MatchesBytesIn(m8) && m8[newLen] == '\0') in Set()100 m8[newLen] = '\0'; in Set()