What happens when I try to get the bytes for a String but the conversion from Character to Byte overflows the Integer length?

后端 未结 0 428
粉色の甜心
粉色の甜心 2021-01-02 09:38

Given a String of length Integer.MAX_VALUE which contains characters that require more than one byte to represent, such as Chinese ideograms, what result would

相关标签:
回答
  • 消灭零回复
提交回复
热议问题