關於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
相關文章
相關標籤/搜索