Click or drag to resize

FilterReader Class

FilterReader is a utility class providing a convenient way to read data from an input filter (using Filter directly is not very intuitive).
Inheritance Hierarchy
SystemObject
  pdftron.FiltersFilterReader

Namespace:  pdftron.Filters
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public sealed class FilterReader : IClosable

The FilterReader type exposes the following members.

Constructors
  NameDescription
Public methodFilterReader
Creates a new filter reader instance.
Top
Methods
  NameDescription
Public methodClose
Public methodCount
Gets the number of bytes consumed since opening the filter or since the last Seek operation.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodFlush
Forces any data remaining in the buffer to be read from or written to input or output filter.
Public methodFlushAll
Forces any data remaining in the filter chain to the source or destination.
Public methodGet
Gets the next character in the stream.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodPeek
Peeks for the next character in the stream.
Public methodRead
Public methodReadToBuffer
Reads data to the buffer.
Public methodSeek
Sets the position within the current stream.
Public methodTell
Reports the current read position in the stream relative to the stream origin.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Examples
MappedFile file = new MappedFile("my_stream.txt");
FilterReader reader = new FilterReader(file);
while (reader.Read(...)) ...
See Also