Show / Hide Table of Contents

Class AbpStreamExtensions

Inheritance
System.Object
AbpStreamExtensions
Namespace: System.IO
Assembly: Volo.Abp.Core.dll
Syntax
public static class AbpStreamExtensions : object

Methods

CopyToAsync(Stream, Stream, CancellationToken)

Declaration
public static Task CopyToAsync(this Stream stream, Stream destination, CancellationToken cancellationToken)
Parameters
Type Name Description
Stream stream
Stream destination
CancellationToken cancellationToken
Returns
Type Description
Task

GetAllBytes(Stream)

Declaration
public static byte[] GetAllBytes(this Stream stream)
Parameters
Type Name Description
Stream stream
Returns
Type Description
System.Byte[]

GetAllBytesAsync(Stream, CancellationToken)

Declaration
public static Task<byte[]> GetAllBytesAsync(this Stream stream, CancellationToken cancellationToken = null)
Parameters
Type Name Description
Stream stream
CancellationToken cancellationToken
Returns
Type Description
Task<System.Byte[]>
Back to top Powered by Volosoft