Tags
- Android/iOS Developer
- oracle
- postman pre-request
- Android
- 프런트엔드
- LSL_Script
- c#
- postman excel
- Java
- Intellij
- postman csv
- UI/UX Engineer
- postman
- postman html parse
- postman collection variables
- 좋은 개발자
- solidity
- 우수한 프런트 개발자
- postman session
- Front-end developer
- web developer
- C++
- MFC
- Unity
- Interaction developer
- emplace_back
- 다빈치 리졸브
- postman automations
- postman collection
- postman tests
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Archives
- Today
- Total
david's daily developer note
[Java] Char [] to Byte [] 본문
728x90
char [] bufferIamge = imageString.toCharArray();
byte [] image = new byte[bufferIamge.length <<1];
for(int j = 0; j < bufferIamge.length; j++) {
int bpos = i << 1;
image[bpos] = (byte) ((bufferIamge[i]&0xFF00)>>8);
image[bpos + 1] = (byte) (bufferIamge[i]&0x00FF);
}
728x90
'[Develop] Language > JAVA' 카테고리의 다른 글
[eclipse] 이클립스 초반 개발환경 설정. (0) | 2011.04.26 |
---|---|
[Java] Vector.toArray() 사용하기 (0) | 2010.10.05 |
[Java] Vector 내 원소 정렬하기 (0) | 2010.10.05 |
[eclipse] 디버깅 (디버깅 단축키) (0) | 2010.09.10 |