iText 8.0.4 API
iText.IO.Source.RASInputStream Class Reference

An input stream that uses a RandomAccessSource as its underlying source. More...

Inheritance diagram for iText.IO.Source.RASInputStream:

Public Member Functions

  RASInputStream (IRandomAccessSource source)
  Creates an input stream based on the source. More...
 
IRandomAccessSource  GetSource ()
 
override void  Flush ()
 
override long  Seek (long offset, SeekOrigin origin)
 
override void  SetLength (long value)
 
override int  Read (byte[] b, int off, int len)
 
override int  ReadByte ()
 
override void  Write (byte[] buffer, int offset, int count)
 

Properties

override bool  CanRead [get]
 
override bool  CanSeek [get]
 
override bool  CanWrite [get]
 
override long  Length [get]
 
override long  Position [get, set]
 

Detailed Description

An input stream that uses a RandomAccessSource as its underlying source.

Constructor & Destructor Documentation

◆ RASInputStream()

iText.IO.Source.RASInputStream.RASInputStream ( IRandomAccessSource  source )
inline

Creates an input stream based on the source.

Parameters
source The source.

Member Function Documentation

◆ Read()

override int iText.IO.Source.RASInputStream.Read ( byte[]  b,
int  off,
int  len 
)
inline

◆ ReadByte()

override int iText.IO.Source.RASInputStream.ReadByte ( )
inline