iText 5

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

Type

Name

Methods

long

FilePointer

get

long

Length

get

Methods

Public methods

Returns

Name

void

Close

()

IRandomAccessSource

CreateSourceView

()

RandomAccessFileOrArray

CreateView

()

void

PushBack

(byte b)

void

ReOpen

()

int

Read

(...)

bool

ReadBoolean

()

byte

ReadByte

()

char

ReadChar

()

char

ReadCharLE

()

double

ReadDouble

()

double

ReadDoubleLE

()

float

ReadFloat

()

float

ReadFloatLE

()

void

ReadFully

(...)

int

ReadInt

()

int

ReadIntLE

()

string

ReadLine

()

long

ReadLong

()

long

ReadLongLE

()

short

ReadShort

()

short

ReadShortLE

()

string

ReadString

(int length, string encoding)

int

ReadUnsignedByte

()

long

ReadUnsignedInt

()

long

ReadUnsignedIntLE

()

int

ReadUnsignedShort

()

int

ReadUnsignedShortLE

()

void

Seek

(...)

long

Skip

(long n)

long

SkipBytes

(long n)

Protected internal methods

Details

Constructors

RandomAccessFileOrArray [1/7]

Source code

public RandomAccessFileOrArray(string filename)

Arguments

Type

Name

Description

string

filename

RandomAccessFileOrArray [2/7]

Source code

public RandomAccessFileOrArray(RandomAccessFileOrArray source)

Arguments

Type

Name

Description

RandomAccessFileOrArray

source

RandomAccessFileOrArray [3/7]

Source code

public RandomAccessFileOrArray(IRandomAccessSource byteSource)

Arguments

Type

Name

Description

IRandomAccessSource

byteSource

RandomAccessFileOrArray [4/7]

Source code

public RandomAccessFileOrArray(string filename, bool forceRead)

Arguments

Type

Name

Description

string

filename

bool

forceRead

RandomAccessFileOrArray [5/7]

Source code

public RandomAccessFileOrArray(Uri url)

Arguments

Type

Name

Description

Uri

url

RandomAccessFileOrArray [6/7]

Source code

public RandomAccessFileOrArray(Stream inp)

Arguments

Type

Name

Description

Stream

inp

RandomAccessFileOrArray [7/7]

Source code

public RandomAccessFileOrArray(byte[] arrayIn)

Arguments

Type

Name

Description

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

Type

Name

Description

byte

b

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

Type

Name

Description

byte``[]

b

int

off

int

len

Read [3/3]

Source code

public virtual int Read(byte[] b)

Arguments

Type

Name

Description

byte``[]

b

ReadFully [1/2]

Source code

public virtual void ReadFully(byte[] b)

Arguments

Type

Name

Description

byte``[]

b

ReadFully [2/2]

Source code

public virtual void ReadFully(byte[] b, int off, int len)

Arguments

Type

Name

Description

byte``[]

b

int

off

int

len

Skip

Source code

public virtual long Skip(long n)

Arguments

Type

Name

Description

long

n

SkipBytes

Source code

public virtual long SkipBytes(long n)

Arguments

Type

Name

Description

long

n

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

Type

Name

Description

long

pos

Seek [2/2]

Source code

public virtual void Seek(int pos)

Arguments

Type

Name

Description

int

pos

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

Type

Name

Description

int

length

string

encoding

Properties

Length

public virtual long Length { get; }

FilePointer

public virtual long FilePointer { get; }

Generated with ModularDoc