Shared Cache is high performance distributed and replication cache system built for .Net applications running in server farms.

The DeflaterOutputStream type exposes the following members.

Constructors

  NameDescription
DeflaterOutputStreamOverloaded.

Methods

  NameDescription
BeginRead
Asynchronous reads are not supported a NotSupportedException is always thrown
(Overrides Stream..::.BeginRead(array<Byte>[]()[], Int32, Int32, AsyncCallback, Object).)
BeginWrite
Asynchronous writes arent supported, a NotSupportedException is always thrown
(Overrides Stream..::.BeginWrite(array<Byte>[]()[], Int32, Int32, AsyncCallback, Object).)
Close
Calls Finish()()() and closes the underlying stream when IsStreamOwner is true.
(Overrides Stream..::.Close()()().)
CreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
CreateWaitHandle Obsolete.
Allocates a WaitHandle object.
(Inherited from Stream.)
Deflate
Deflates everything in the input buffers. This will call
CopyC#
def.deflate()
until all bytes from the input buffers are processed.
DisposeOverloaded.
EncryptBlock
Encrypt a block of data
EndRead
Waits for the pending asynchronous read to complete.
(Inherited from Stream.)
EndWrite
Ends an asynchronous write operation.
(Inherited from Stream.)
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Finish
Finishes the stream by calling finish() on the deflater.
Flush
Flushes the stream by calling Flush on the deflater and then on the underlying stream. This ensures that all bytes are flushed.
(Overrides Stream..::.Flush()()().)
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
InitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
InitializePassword
Initializes encryption keys based on given password
MemberwiseCloneOverloaded.
Read
Read a block of bytes from stream
(Overrides Stream..::.Read(array<Byte>[]()[], Int32, Int32).)
ReadByte
Read a byte from stream advancing position by one
(Overrides Stream..::.ReadByte()()().)
Seek
Sets the current position of this stream to the given value. Not supported by this class!
(Overrides Stream..::.Seek(Int64, SeekOrigin).)
SetLength
Sets the length of this stream to the given value. Not supported by this class!
(Overrides Stream..::.SetLength(Int64).)
ToString
Returns a String that represents the current Object.
(Inherited from Object.)
Write
Writes bytes from an array to the compressed stream.
(Overrides Stream..::.Write(array<Byte>[]()[], Int32, Int32).)
WriteByte
Writes a single byte to the compressed output stream.
(Overrides Stream..::.WriteByte(Byte).)

Fields

  NameDescription
baseOutputStream_
Base stream the deflater depends on.
deflater_
The deflater which is used to deflate the stream.

Properties

  NameDescription
CanPatchEntries
Allows client to determine if an entry can be patched after its added
CanRead
Gets value indicating stream can be read from
(Overrides Stream..::.CanRead.)
CanSeek
Gets a value indicating if seeking is supported for this stream This property always returns false
(Overrides Stream..::.CanSeek.)
CanTimeout
Gets a value that determines whether the current stream can time out.
(Inherited from Stream.)
CanWrite
Get value indicating if this stream supports writing
(Overrides Stream..::.CanWrite.)
IsStreamOwner
Get/set flag indicating ownership of the underlying stream. When the flag is true Close()()() will close the underlying stream also.
Length
Get current length of stream
(Overrides Stream..::.Length.)
Password
Get/set the password used for encryption.
Position
Gets the current position within the stream.
(Overrides Stream..::.Position.)
ReadTimeout
Gets or sets a value, in miliseconds, that determines how long the stream will attempt to read before timing out.
(Inherited from Stream.)
WriteTimeout
Gets or sets a value, in miliseconds, that determines how long the stream will attempt to write before timing out.
(Inherited from Stream.)

See Also