iText 8.0.2 API
|
A RandomAccessSource that is wraps another RandomAccessSource but does not propagate close(). More...
Public Member Functions |
|
IndependentRandomAccessSource (IRandomAccessSource source) | |
Constructs a new IndependentRandomAccessSource object More... |
|
virtual int | Get (long position) |
Gets a byte at the specified position More... |
|
virtual int | Get (long position, byte[] bytes, int off, int len) |
Read an array of bytes of specified length from the specified position of source to the buffer applying the offset. More... |
|
virtual long | Length () |
Gets the length of the source More... |
|
virtual void | Close () |
Does nothing - the underlying source is not closed More... |
|
A RandomAccessSource that is wraps another RandomAccessSource but does not propagate close().
A RandomAccessSource that is wraps another RandomAccessSource but does not propagate close(). This is useful when passing a RandomAccessSource to a method that would normally close the source.
|
inline |
Constructs a new IndependentRandomAccessSource object
source | the source |
|
inlinevirtual |
Does nothing - the underlying source is not closed
Implements iText.IO.Source.IRandomAccessSource.
|
inlinevirtual |
Gets a byte at the specified position
Implements iText.IO.Source.IRandomAccessSource.
|
inlinevirtual |
Read an array of bytes of specified length from the specified position of source to the buffer applying the offset.
Implements iText.IO.Source.IRandomAccessSource.
|
inlinevirtual |
Gets the length of the source
Implements iText.IO.Source.IRandomAccessSource.