C# 클래스 Microsoft.Http.StreamExtensions

파일 보기 프로젝트 열기: o2platform/O2.Platform.Projects

공개 메소드들

메소드 설명
ConsumeAllBytesAndClose ( this stream ) : long
CopyAndCloseSource ( this source, Stream destination, long size ) : long
CopyStreamTo ( this source, Stream destination ) : void
ReadAllBytes ( this source ) : byte[]
ReadAllBytes ( this source, long length ) : byte[]

메소드 상세

ConsumeAllBytesAndClose() 공개 정적인 메소드

public static ConsumeAllBytesAndClose ( this stream ) : long
stream this
리턴 long

CopyAndCloseSource() 공개 정적인 메소드

public static CopyAndCloseSource ( this source, Stream destination, long size ) : long
source this
destination Stream
size long
리턴 long

CopyStreamTo() 공개 정적인 메소드

public static CopyStreamTo ( this source, Stream destination ) : void
source this
destination Stream
리턴 void

ReadAllBytes() 공개 정적인 메소드

public static ReadAllBytes ( this source ) : byte[]
source this
리턴 byte[]

ReadAllBytes() 공개 정적인 메소드

public static ReadAllBytes ( this source, long length ) : byte[]
source this
length long
리턴 byte[]