| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 | 31 |
- file access
- atmega328
- flutter
- memory
- edge
- UNO
- digitalRead
- parameter
- compare
- Binary
- APP
- stream
- Unity
- Class
- Contour
- aduino
- mfc
- public
- wpf
- Gradient
- Filtering
- c++
- subpixel
- Gaussian
- sensor
- Android
- Encapusulation
- Pointer
- SERIAL
- Read
- Today
- Total
목록InputStream (2)
폴크(FOLC)
# 파일 종류 > text file : 문자열의 모임으로 바로 확인 가능 ( TxT 뷰어 이용 ) > binary file : 0, 1의 이진 형식으로 바로 확인 불가능 ( 별도 뷰어 필요 ) # 파일은 stream(임시 메모리 공간)를 통해서 접근 > InputStream / PrintStream ( 파일 연동 ) > setin / setout 으로 사용자 데이터 송신, 수신 # 파일 연동 > HDD 에 저장되는 정보, 연속적인 byte 의 모임 > 메소드 이용 - canRead() : 파일을 읽을 수 있는 파일인지 확인 - canWrite() : 파일이 쓸수 있는 파일인지 확인 - exists() : 파일이 존재하는지 확인 # 예제 소스 public static main(String [] args) ..
# web site 에 존재하는 Image 를 Local Storage 에 저장하는 방법 > http 방식 이용 # 관련 소스 코드 > using System.Net; > HttpWebRequest REQ = (HttpWebRequest)WebRequest.Create(cover_image_full_path); > HttpWebResponse RES = (HttpWebResponse)request.GetResponse(); > bool bImage = RES.ContentType.EndsWith("image/jpeg", StringComparison.OrdinalIgnoreCase); > if (bImage) > { > using (Stream inputStream = response.GetRespons..