iText 9.8.1 API
iText.IO.Source.RunLengthOutputStream Class Reference

An output stream that encodes data according to the RunLengthDecode filter from the PDF specification. More...

Inheritance diagram for iText.IO.Source.RunLengthOutputStream:
iText.Commons.Utils.FilterOutputStream iText.IO.Source.IFinishable

Public Member Functions

  RunLengthOutputStream (Stream @out)
  Creates a new RunLengthDecode encoding stream. More...
 
override void  Write (int b)
  Writes the specified int value to output stream. More...
 
override void  Close ()
 
virtual void  Finish ()
  Is called to finalize the stream, implementing classes should ensure that the underlying output stream remains open after this method is called. More...
 
- Public Member Functions inherited from iText.Commons.Utils.FilterOutputStream
  FilterOutputStream (Stream @out)
  Creates a FilterOutputStream on top of the specified output stream. More...
 
void  Write (byte[] buffer)
  Writes buffer.Length bytes to output stream. More...
 
override void  Write (byte[] b, int off, int len)
  Writes len bytes from the specified byte array starting at offset off to output stream. More...
 
override void  Flush ()
  Flushes output stream. More...
 
override void  SetLength (long value)
 
override int  Read (byte[] buffer, int offset, int count)
 
override long  Seek (long offset, SeekOrigin origin)
 

Additional Inherited Members

- Protected Member Functions inherited from iText.Commons.Utils.FilterOutputStream
override void  Dispose (bool disposing)
 
- Protected Attributes inherited from iText.Commons.Utils.FilterOutputStream
Stream  out
  The output stream to be filtered. More...
 
- Properties inherited from iText.Commons.Utils.FilterOutputStream
override bool  CanRead [get]
 
override bool  CanSeek [get]
 
override bool  CanWrite [get]
 
override long  Length [get]
 
override long  Position [get, set]
 

Detailed Description

An output stream that encodes data according to the RunLengthDecode filter from the PDF specification.

Constructor & Destructor Documentation

◆ RunLengthOutputStream()

iText.IO.Source.RunLengthOutputStream.RunLengthOutputStream ( Stream @  out )
inline

Creates a new RunLengthDecode encoding stream.

Parameters
out the output stream to write encoded data to

Member Function Documentation

◆ Close()

override void iText.IO.Source.RunLengthOutputStream.Close ( )
inline

◆ Finish()

virtual void iText.IO.Source.RunLengthOutputStream.Finish ( )
inlinevirtual

Is called to finalize the stream, implementing classes should ensure that the underlying output stream remains open after this method is called.

Implements iText.IO.Source.IFinishable.

◆ Write()

override void iText.IO.Source.RunLengthOutputStream.Write ( int  b )
inlinevirtual

Writes the specified int value to output stream.

Reimplemented from iText.Commons.Utils.FilterOutputStream.