[알고리즘] StringtoByteCode

JongSeong Yang·2021년 4월 27일

알고리즘

목록 보기
2/7

String -> ByteCode

String을 ByteCode로 변환한다
BytoCode를 통해 아스키코드를 이용할 수 있음

String Text = "Hello"
byte[] byteText = Text.getBytes();

ByteCode -> String

String byteToText = new String(byteText);
profile
꿈꾸는 개발자

0개의 댓글