티스토리 뷰

String --> Byte


String hello = "Why always me";

bytes hello_b = hello.getBytes();



----------------------------------

Byte --> String


String hello2 = new String(hello_b);

'Computer > 컴파일언어' 카테고리의 다른 글

C 언어) int to string (sprintf)  (0) 2015.12.16
C 언어 pthread 이용법  (0) 2015.12.10
Linux Command Line 에서 JAVA 패키지 컴파일  (1) 2015.12.08
자바 소켓 통신 서버단  (0) 2015.12.04
stray '\241' in program?  (2) 2015.11.26
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/04   »
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
글 보관함