Searched refs:utf8String (Results 1 – 3 of 3) sorted by relevance
85 std::string utf8String; in getUtf8String() local95 utf8String.push_back(static_cast<char>(value | FIRST_BYTE_MARKERS[sequenceSize])); in getUtf8String()100 utf8String.push_back(static_cast<char>(value | TRAILING_BYTE_MARKER)); in getUtf8String()103 return utf8String; in getUtf8String()
130 String utf8String = decodeSsid(mBytes, StandardCharsets.UTF_8); in toString() local131 if (TextUtils.isEmpty(utf8String)) { in toString()134 return "\"" + utf8String + "\""; in toString()
420 public static byte[] truncateUtf8StringToBytearray(String utf8String, int maxLength) in truncateUtf8StringToBytearray() argument423 byte[] utf8Bytes = new byte[utf8String.length() + 1]; in truncateUtf8StringToBytearray()425 System.arraycopy(utf8String.getBytes("UTF-8"), 0, utf8Bytes, 0, utf8String.length()); in truncateUtf8StringToBytearray()