C# Class Microsoft.WindowsAzure.Commands.Tools.Vhd.Model.Persistence.StreamHelper

ファイルを表示 Open project: Azure/azure-powershell

Public Methods

Method Description
BeginReadBytes ( Stream stream, long offset, int length, AsyncCallback callback, object state ) : IAsyncResult
BeginReadBytes ( Stream stream, long offset, int length, SeekOrigin origin, AsyncCallback callback, object state ) : IAsyncResult
EndReadBytes ( IAsyncResult result ) : byte[]
ReadBytes ( Stream stream, long offset, int length ) : byte[]
ReadBytes ( Stream stream, long offset, int length, SeekOrigin origin ) : byte[]
ReadBytesAsync ( AsyncMachine machine, Stream stream, int length ) : IEnumerable

Private Methods

Method Description
ReadBytes ( Stream stream, int length ) : byte[]

Method Details

BeginReadBytes() public static method

public static BeginReadBytes ( Stream stream, long offset, int length, AsyncCallback callback, object state ) : IAsyncResult
stream Stream
offset long
length int
callback AsyncCallback
state object
return IAsyncResult

BeginReadBytes() public static method

public static BeginReadBytes ( Stream stream, long offset, int length, SeekOrigin origin, AsyncCallback callback, object state ) : IAsyncResult
stream Stream
offset long
length int
origin SeekOrigin
callback AsyncCallback
state object
return IAsyncResult

EndReadBytes() public static method

public static EndReadBytes ( IAsyncResult result ) : byte[]
result IAsyncResult
return byte[]

ReadBytes() public static method

public static ReadBytes ( Stream stream, long offset, int length ) : byte[]
stream Stream
offset long
length int
return byte[]

ReadBytes() public static method

public static ReadBytes ( Stream stream, long offset, int length, SeekOrigin origin ) : byte[]
stream Stream
offset long
length int
origin SeekOrigin
return byte[]

ReadBytesAsync() public static method

public static ReadBytesAsync ( AsyncMachine machine, Stream stream, int length ) : IEnumerable
machine AsyncMachine
stream Stream
length int
return IEnumerable