String8(C++) 和 Java 中的 String 有什么区别?
最佳答案
据我所知:
Property java.lang.String android::String8
================================================================
language Java C++
Unicode yes yes
char width 16 8
encoding UTF-16 UTF-8
mutability immutable mutable
bunch of file path methods no yes
attitude to Darwin indifferent annoyed (line 47)
它们都是Unicode字符串类型;相似之处似乎到此为止。
关于java - Java 字符串 UTF8 和 String8 之间的区别?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22794924/