Searched refs:utf8String (Results 1 – 2 of 2) 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()
422 public static byte[] truncateUtf8StringToBytearray(String utf8String, int maxLength) in truncateUtf8StringToBytearray() argument425 byte[] utf8Bytes = new byte[utf8String.length() + 1]; in truncateUtf8StringToBytearray()427 System.arraycopy(utf8String.getBytes("UTF-8"), 0, utf8Bytes, 0, utf8String.length()); in truncateUtf8StringToBytearray()