C# Класс Microsoft.Http.StreamExtensions

Показать файл Открыть проект

Открытые методы

Метод Описание
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[]