C# 클래스 Pomona.Common.Internals.StreamExtensions

파일 보기 프로젝트 열기: Pomona/Pomona

공개 메소드들

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

Reads the contents of the stream into a byte array. data is returned as a byte array. An IOException is thrown if any of the underlying IO calls fail. (this method was taken from http://geekswithblogs.net/sdorman/archive/2009/01/10/reading-all-bytes-from-a-stream.aspx)

메소드 상세

ReadAllBytes() 공개 정적인 메소드

Reads the contents of the stream into a byte array. data is returned as a byte array. An IOException is thrown if any of the underlying IO calls fail. (this method was taken from http://geekswithblogs.net/sdorman/archive/2009/01/10/reading-all-bytes-from-a-stream.aspx)
The stream does not support reading. Methods were called after the stream was closed. An I/O error occurs.
public static ReadAllBytes ( this source ) : byte[]
source this The stream to read.
리턴 byte[]