Class ComposedStream
Inheritance
System.Object
ComposedStream
Namespace: PnP.Framework.Utilities.UnitTests.Helpers
Assembly: PnP.Framework.dll
Syntax
public class ComposedStream : Stream
Constructors
ComposedStream(Stream)
Declaration
public ComposedStream(Stream baseStream)
Parameters
|
Stream
baseStream
|
Properties
BaseStream
Declaration
public Stream BaseStream { get; }
Property Value
|
Stream
|
CanRead
Declaration
public override bool CanRead { get; }
Property Value
|
System.Boolean
|
CanSeek
Declaration
public override bool CanSeek { get; }
Property Value
|
System.Boolean
|
CanWrite
Declaration
public override bool CanWrite { get; }
Property Value
|
System.Boolean
|
Length
Declaration
public override long Length { get; }
Property Value
|
System.Int64
|
Position
Declaration
public override long Position { get; set; }
Property Value
|
System.Int64
|
Methods
Close()
Declaration
public override void Close()
Flush()
Declaration
public override void Flush()
Read(Byte[], Int32, Int32)
Declaration
public override int Read(byte[] buffer, int offset, int count)
Parameters
|
System.Byte[]
buffer
|
|
System.Int32
offset
|
|
System.Int32
count
|
Returns
|
System.Int32
|
Seek(Int64, SeekOrigin)
Declaration
public override long Seek(long offset, SeekOrigin origin)
Parameters
|
System.Int64
offset
|
|
SeekOrigin
origin
|
Returns
|
System.Int64
|
SetLength(Int64)
Declaration
public override void SetLength(long value)
Parameters
|
System.Int64
value
|
Write(Byte[], Int32, Int32)
Declaration
public override void Write(byte[] buffer, int offset, int count)
Parameters
|
System.Byte[]
buffer
|
|
System.Int32
offset
|
|
System.Int32
count
|