import java.io.*;
...
...
byte[] data = new byte[DATA_SIZE];
long lTime = decode(data,8,4); //data의 8번째 Byte에서 4byte를 읽어서 long type으로 변환
...
이런 식으로 사용했습니다만...
----------------
"For God so loved the world that he gave his one and only Son, that whoever believes in him shall not perish but have eternal life"-John 3:16
"For God so loved the world that he gave his one and only Son, that whoever believes in him shall not perish but have eternal life"-John 3:16
예를 들면...
import java.io.*;
...
...
byte[] data = new byte[DATA_SIZE];
long lTime = decode(data,8,4); //data의 8번째 Byte에서 4byte를 읽어서 long type으로 변환
...
이런 식으로 사용했습니다만...
----------------
"For God so loved the world that he gave his one and only Son, that whoever believes in him shall not perish but have eternal life"-John 3:16
"For God so loved the world that he gave his one and only Son, that whoever believes in him shall not perish but have eternal life"-John 3:16
생성자
try { String str = new String(byteData, "UTF-8") } catch (UnsupportedEncodingException ex) { // 계속불가능한 에러 처리... }댓글 달기