문자열을 바이트단위로 자르기 public class StringByteCut { public static String cutStringByByte(String str, int byteLength, Charset charset) { byte[] bytes = str.getBytes(charset); if (bytes.length 자바 2023.01.10