C# 클래스 Baseline.StreamExtensions

파일 보기 프로젝트 열기: JasperFx/baseline

공개 메소드들

메소드 설명
ReadAllBytes ( this stream ) : byte[]

Read all the bytes in a Stream from its current location to a byte[] array

ReadAllBytesAsync ( this stream ) : Task

Asynchronously read all the bytes in a Stream from its current location to a byte[] array

ReadAllText ( this stream ) : string

Read the contents of a Stream from its current location into a String

ReadAllTextAsync ( this stream ) : Task

Asynchronously read the contents of a Stream from its current location into a String

메소드 상세

ReadAllBytes() 공개 정적인 메소드

Read all the bytes in a Stream from its current location to a byte[] array
public static ReadAllBytes ( this stream ) : byte[]
stream this
리턴 byte[]

ReadAllBytesAsync() 공개 정적인 메소드

Asynchronously read all the bytes in a Stream from its current location to a byte[] array
public static ReadAllBytesAsync ( this stream ) : Task
stream this
리턴 Task

ReadAllText() 공개 정적인 메소드

Read the contents of a Stream from its current location into a String
public static ReadAllText ( this stream ) : string
stream this
리턴 string

ReadAllTextAsync() 공개 정적인 메소드

Asynchronously read the contents of a Stream from its current location into a String
public static ReadAllTextAsync ( this stream ) : Task
stream this
리턴 Task