Skip to main content
Skip table of contents

RandomAccessFileOrArray

RandomAccessFileOrArray Public class

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph iTextSharp.text.pdf
  iTextSharp.text.pdf.RandomAccessFileOrArray[[RandomAccessFileOrArray]]
  end

Members

Properties

Public properties
TypeNameMethods
longFilePointerget
longLengthget

Methods

Public methods
ReturnsName
voidClose()
IRandomAccessSourceCreateSourceView()
RandomAccessFileOrArrayCreateView()
voidPushBack(byte b)
voidReOpen()
intRead(...)
boolReadBoolean()
byteReadByte()
charReadChar()
charReadCharLE()
doubleReadDouble()
doubleReadDoubleLE()
floatReadFloat()
floatReadFloatLE()
voidReadFully(...)
intReadInt()
intReadIntLE()
stringReadLine()
longReadLong()
longReadLongLE()
shortReadShort()
shortReadShortLE()
stringReadString(int length, string encoding)
intReadUnsignedByte()
longReadUnsignedInt()
longReadUnsignedIntLE()
intReadUnsignedShort()
intReadUnsignedShortLE()
voidSeek(...)
longSkip(long n)
longSkipBytes(long n)
Protected internal methods

Details

Constructors

RandomAccessFileOrArray [1/7]
Source code
public RandomAccessFileOrArray(string filename)
Arguments
TypeNameDescription
stringfilename
RandomAccessFileOrArray [2/7]
Source code
public RandomAccessFileOrArray(RandomAccessFileOrArray source)
Arguments
TypeNameDescription
RandomAccessFileOrArraysource
RandomAccessFileOrArray [3/7]
Source code
public RandomAccessFileOrArray(IRandomAccessSource byteSource)
Arguments
TypeNameDescription
IRandomAccessSourcebyteSource
RandomAccessFileOrArray [4/7]
Source code
public RandomAccessFileOrArray(string filename, bool forceRead)
Arguments
TypeNameDescription
stringfilename
boolforceRead
RandomAccessFileOrArray [5/7]
Source code
public RandomAccessFileOrArray(Uri url)
Arguments
TypeNameDescription
Uriurl
RandomAccessFileOrArray [6/7]
Source code
public RandomAccessFileOrArray(Stream inp)
Arguments
TypeNameDescription
Streaminp
RandomAccessFileOrArray [7/7]
Source code
public RandomAccessFileOrArray(byte[] arrayIn)
Arguments
TypeNameDescription
byte``[]arrayIn

Methods

CreateView
Source code
public virtual RandomAccessFileOrArray CreateView()
CreateSourceView
Source code
public virtual IRandomAccessSource CreateSourceView()
GetByteSource
Source code
protected internal virtual IRandomAccessSource GetByteSource()
PushBack
Source code
public virtual void PushBack(byte b)
Arguments
TypeNameDescription
byteb
Read [1/3]
Source code
public virtual int Read()
Read [2/3]
Source code
public virtual int Read(byte[] b, int off, int len)
Arguments
TypeNameDescription
byte``[]b
intoff
intlen
Read [3/3]
Source code
public virtual int Read(byte[] b)
Arguments
TypeNameDescription
byte``[]b
ReadFully [1/2]
Source code
public virtual void ReadFully(byte[] b)
Arguments
TypeNameDescription
byte``[]b
ReadFully [2/2]
Source code
public virtual void ReadFully(byte[] b, int off, int len)
Arguments
TypeNameDescription
byte``[]b
intoff
intlen
Skip
Source code
public virtual long Skip(long n)
Arguments
TypeNameDescription
longn
SkipBytes
Source code
public virtual long SkipBytes(long n)
Arguments
TypeNameDescription
longn
ReOpen
Source code
public virtual void ReOpen()
Close
Source code
public virtual void Close()
Seek [1/2]
Source code
public virtual void Seek(long pos)
Arguments
TypeNameDescription
longpos
Seek [2/2]
Source code
public virtual void Seek(int pos)
Arguments
TypeNameDescription
intpos
ReadBoolean
Source code
public virtual bool ReadBoolean()
ReadByte
Source code
public virtual byte ReadByte()
ReadUnsignedByte
Source code
public virtual int ReadUnsignedByte()
ReadShort
Source code
public virtual short ReadShort()
ReadShortLE
Source code
public short ReadShortLE()
ReadUnsignedShort
Source code
public virtual int ReadUnsignedShort()
ReadUnsignedShortLE
Source code
public int ReadUnsignedShortLE()
ReadChar
Source code
public virtual char ReadChar()
ReadCharLE
Source code
public char ReadCharLE()
ReadInt
Source code
public virtual int ReadInt()
ReadIntLE
Source code
public int ReadIntLE()
ReadUnsignedInt
Source code
public long ReadUnsignedInt()
ReadUnsignedIntLE
Source code
public long ReadUnsignedIntLE()
ReadLong
Source code
public virtual long ReadLong()
ReadLongLE
Source code
public long ReadLongLE()
ReadFloat
Source code
public virtual float ReadFloat()
ReadFloatLE
Source code
public float ReadFloatLE()
ReadDouble
Source code
public virtual double ReadDouble()
ReadDoubleLE
Source code
public double ReadDoubleLE()
ReadLine
Source code
public virtual string ReadLine()
ReadString
Source code
public virtual string ReadString(int length, string encoding)
Arguments
TypeNameDescription
intlength
stringencoding

Properties

Length
public virtual long Length { get; }
FilePointer
public virtual long FilePointer { get; }

Generated with ModularDoc

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.