关于java String类的getBytes(String charsetName)和String(byte[] bytes, String charsetName)

public byte[] getBytes(Charset charset) Encodes this String into a sequence of bytes using the given charset, storing the result into a new byte array. This method always replaces malformed-input and
相关文章
相关标签/搜索