Click or drag to resize
InjectableStream Class
A stream that allows to be written to without growing infinitely. The stream maintains a queue of constant size chunk that are immediately disposed as soon as a client reads from the stream.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    System.IOStream
      StreamCodersInjectableStream

Namespace: StreamCoders
Assembly: MediaBase (in MediaBase.dll) Version: 2.0.5.0 (2.0.5.0)
Syntax
public class InjectableStream : Stream

The InjectableStream type exposes the following members.

Constructors
  NameDescription
Public methodInjectableStream
Default constructor.
Top
Properties
  NameDescription
Public propertyCanRead
Gets a value indicating whether we can read.
(Overrides StreamCanRead.)
Public propertyCanSeek
Gets a value indicating whether we can seek.
(Overrides StreamCanSeek.)
Public propertyCanWrite
Gets a value indicating whether we can write.
(Overrides StreamCanWrite.)
Public propertyLength
Gets the length.
(Overrides StreamLength.)
Public propertyPosition
Gets or sets the position.
(Overrides StreamPosition.)
Top
Methods
  NameDescription
Public methodAbort
Aborts this object.
Public methodFinalizeLength
Commits last outstanding internal buffer and sets the true length of the stream so that the reader can detect an EOS.
Public methodFlush
Flushes this object.
(Overrides StreamFlush.)
Public methodRead
When overridden in a derived class, reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read.
(Overrides StreamRead(Byte, Int32, Int32).)
Public methodReadByte
When overridden in a derived class, reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read.
(Overrides StreamReadByte.)
Public methodSeek (Overrides StreamSeek(Int64, SeekOrigin).)
Public methodSetLength (Overrides StreamSetLength(Int64).)
Public methodWrite
When overridden in a derived class, writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.
(Overrides StreamWrite(Byte, Int32, Int32).)
Public methodWriteWholeBuffer
Writes a whole buffer.
Top
Extension Methods
  NameDescription
Public Extension MethodCopyOverloaded.
Creates a copy of the object.
(Defined by ObjectExtensions.)
Public Extension MethodCopy(Object)Overloaded.
Creates a deep copy of the object using the supplied object as a target for the copy operation.
(Defined by ObjectExtensions.)
Public Extension MethodToOffsetBuffer
Creates an OffsetBuffer from a inputStream.
(Defined by ArrayExtensions.)
Top
See Also

Reference

System.IOStream