Class TarArchiveReadStream
Namespace: Aurigma.DesignAtoms.Storage.TarArchive
Assembly: Aurigma.DesignAtoms.dll
Syntax
public class TarArchiveReadStream : TarArchiveStream, IDisposable
Inheritance: System.Object -> System.MarshalByRefObject -> System.IO.Stream -> Aurigma.DesignAtoms.Storage.TarArchive.TarArchiveStream -> TarArchiveReadStream
Implements
System.IDisposable
Inherited Members
- Aurigma.DesignAtoms.Storage.TarArchive.TarArchiveStream.Flush()
- Aurigma.DesignAtoms.Storage.TarArchive.TarArchiveStream.Seek(System.Int64, System.IO.SeekOrigin)
- Aurigma.DesignAtoms.Storage.TarArchive.TarArchiveStream.SetLength(System.Int64)
- Aurigma.DesignAtoms.Storage.TarArchive.TarArchiveStream.IsClosed
- Aurigma.DesignAtoms.Storage.TarArchive.TarArchiveStream.CanSeek
System.IO.Stream.NullSystem.IO.Stream.CopyToAsync(System.IO.Stream)System.IO.Stream.CopyToAsync(System.IO.Stream,System.Int32)System.IO.Stream.CopyToAsync(System.IO.Stream,System.Int32,System.Threading.CancellationToken)System.IO.Stream.CopyTo(System.IO.Stream)System.IO.Stream.CopyTo(System.IO.Stream,System.Int32)System.IO.Stream.DisposeSystem.IO.Stream.Dispose(System.Boolean)System.IO.Stream.FlushAsyncSystem.IO.Stream.FlushAsync(System.Threading.CancellationToken)System.IO.Stream.CreateWaitHandleSystem.IO.Stream.BeginRead(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)System.IO.Stream.EndRead(System.IAsyncResult)System.IO.Stream.ReadAsync(System.Byte[],System.Int32,System.Int32)System.IO.Stream.ReadAsync(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)System.IO.Stream.BeginWrite(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)System.IO.Stream.EndWrite(System.IAsyncResult)System.IO.Stream.WriteAsync(System.Byte[],System.Int32,System.Int32)System.IO.Stream.WriteAsync(System.Byte[],System.Int32,System.Int32,System.Threading.CancellationToken)System.IO.Stream.ReadByteSystem.IO.Stream.WriteByte(System.Byte)System.IO.Stream.Synchronized(System.IO.Stream)System.IO.Stream.ObjectInvariantSystem.IO.Stream.CanTimeoutSystem.IO.Stream.ReadTimeoutSystem.IO.Stream.WriteTimeoutSystem.MarshalByRefObject.MemberwiseClone(System.Boolean)System.MarshalByRefObject.GetLifetimeServiceSystem.MarshalByRefObject.InitializeLifetimeServiceSystem.MarshalByRefObject.CreateObjRef(System.Type)System.Object.ToStringSystem.Object.Equals(System.Object)System.Object.Equals(System.Object,System.Object)System.Object.ReferenceEquals(System.Object,System.Object)System.Object.GetHashCodeSystem.Object.GetTypeSystem.Object.MemberwiseClone
Constructors
TarArchiveReadStream
public TarArchiveReadStream(TarReader tarReader, Action onClose)
Properties
CanRead
public override bool CanRead { get; }
CanWrite
public override bool CanWrite { get; }
Length
public override long Length { get; }
Position
public override long Position { get; set; }
Methods
Close
public override void Close()
Overrides
Read
public override int Read(byte[] buffer, int offset, int count)
Parameters
| Type | Name | Description |
|---|---|---|
System.Byte[] | buffer | |
System.Int32 | offset | |
System.Int32 | count |
Returns
System.Int32
Overrides
System.IO.Stream.Read(System.Byte[],System.Int32,System.Int32)
Write
public override void Write(byte[] buffer, int offset, int count)
Parameters
| Type | Name | Description |
|---|---|---|
System.Byte[] | buffer | |
System.Int32 | offset | |
System.Int32 | count |
Overrides
System.IO.Stream.Write(System.Byte[],System.Int32,System.Int32)