Method | Description | |
---|---|---|
OpenRead ( string path ) : |
비동기적으로 읽기 위한 FileStream 을 생성합니다.
|
|
OpenWrite ( string path ) : |
지정한 파일을 비동기적으로 쓰기 위한 FileStream을 생성합니다.
|
|
ReadAllBytes ( string path ) : Task |
지정한 파일을 비동기적으로 읽어 byte[] 을 반환하는 Task를 빌드합니다.
|
|
ReadAllText ( string path, |
지정한 경로의 파일 내용을 비동기적으로 모두 읽어 문자열로 반환하는 Task를 빌드합니다.
|
|
WriteAllBytes ( string path, byte bytes ) : System.Threading.Tasks.Task |
비동기적으로 bytes 내용을 파일에 씁니다.
|
|
WriteAllText ( string path, string contents, |
비동기적으로 지정된 내용을 지정된 인코딩 방식으로 파일에 씁니다.
|
public static OpenRead ( string path ) : |
||
path | string | |
return |
public static OpenWrite ( string path ) : |
||
path | string | |
return |
public static ReadAllBytes ( string path ) : Task |
||
path | string | |
return | Task |
public static ReadAllText ( string path, |
||
path | string | 읽을 파일 전체경로 |
encoding | 파일 내용 인코딩 방식 | |
return | Task |
public static WriteAllBytes ( string path, byte bytes ) : System.Threading.Tasks.Task | ||
path | string | |
bytes | byte | |
return | System.Threading.Tasks.Task |
public static WriteAllText ( string path, string contents, |
||
path | string | 경로 |
contents | string | 쓸 내용 |
encoding | 인코딩 방식 | |
return | System.Threading.Tasks.Task |