Class OutputStreamEncryption
public abstract class OutputStreamEncryption : Stream, IDisposable, IAsyncDisposable
- Inheritance
-
OutputStreamEncryption
- Implements
- Derived
- Inherited Members
Constructors
OutputStreamEncryption(Stream)
Creates a new instance of OutputStreamEncryption
protected OutputStreamEncryption(Stream @out)
Parameters
Fields
out
protected Stream @out
Field Value
Properties
CanRead
public override bool CanRead { get; }
Property Value
CanSeek
public override bool CanSeek { get; }
Property Value
CanWrite
public override bool CanWrite { get; }
Property Value
Length
public override long Length { get; }
Property Value
Position
public override long Position { get; set; }
Property Value
Methods
Dispose(bool)
protected override void Dispose(bool disposing)
Parameters
disposing
bool
Finish()
public abstract void Finish()
Flush()
public override void Flush()
Read(byte[], int, int)
public override int Read(byte[] buffer, int offset, int count)
Parameters
Returns
Seek(long, SeekOrigin)
public override long Seek(long offset, SeekOrigin origin)
Parameters
offset
longorigin
SeekOrigin
Returns
SetLength(long)
public override void SetLength(long value)
Parameters
value
long
Write(byte[])
Writes
b.length
bytes from the specified byte array
to this output stream. The general contract for
write(b)
is that it should have exactly the same effect as the call
write(b, 0, b.length)
.
public virtual void Write(byte[] b)
Parameters
b
byte[]the data.
- See Also
Write(byte[], int, int)
public override abstract void Write(byte[] b, int off, int len)
Parameters
Write(int)
public virtual void Write(int b)
Parameters
b
int