iText 5

ByteBuffer

ByteBuffer Public class

Diagram

flowchart LR classDef interfaceStyle stroke-dasharray: 5 5; classDef abstractStyle stroke-width:4px subgraph iTextSharp.text.pdf iTextSharp.text.pdf.ByteBuffer[[ByteBuffer]] end subgraph System.IO System.IO.Stream[[Stream]] end System.IO.Stream --> iTextSharp.text.pdf.ByteBuffer

Members

Properties

Public properties

Type

Name

Methods

byte``[]

Buffer

get

bool

CanRead

get

bool

CanSeek

get

bool

CanWrite

get

long

Length

get

long

Position

get, set

int

Size

get, set

Methods

Public Static methods

Returns

Name

void

FillCache

(int decimals)

string

FormatDouble

(...)

void

SetCacheSize

(int size)

Public methods

Returns

Name

ByteBuffer

Append

(...)

ByteBuffer

AppendHex

(byte b)

ByteBuffer

Append_i

(int b)

void

Flush

()

int

Read

(byte``[] buffer, int offset, int count)

void

Reset

()

long

Seek

(long offset, SeekOrigin origin)

void

SetLength

(long value)

byte``[]

ToByteArray

()

string

ToString

()

void

Write

(byte``[] buffer, int offset, int count)

void

WriteByte

(byte value)

void

WriteTo

(Stream str)

Details

Inheritance

  • Stream

Constructors

ByteBuffer [1/2]

Source code

public ByteBuffer()

ByteBuffer [2/2]

Source code

public ByteBuffer(int size)

Arguments

Type

Name

Description

int

size

Methods

SetCacheSize

Source code

public static void SetCacheSize(int size)

Arguments

Type

Name

Description

int

size

FillCache

Source code

public static void FillCache(int decimals)

Arguments

Type

Name

Description

int

decimals

Append_i

Source code

public virtual ByteBuffer Append_i(int b)

Arguments

Type

Name

Description

int

b

Append [1/10]

Source code

public virtual ByteBuffer Append(byte[] b, int off, int len)

Arguments

Type

Name

Description

byte``[]

b

int

off

int

len

Append [2/10]

Source code

public virtual ByteBuffer Append(byte[] b)

Arguments

Type

Name

Description

byte``[]

b

Append [3/10]

Source code

public virtual ByteBuffer Append(string str)

Arguments

Type

Name

Description

string

str

Append [4/10]

Source code

public virtual ByteBuffer Append(char c)

Arguments

Type

Name

Description

char

c

Append [5/10]

Source code

public virtual ByteBuffer Append(ByteBuffer buf)

Arguments

Type

Name

Description

ByteBuffer

buf

Append [6/10]

Source code

public virtual ByteBuffer Append(int i)

Arguments

Type

Name

Description

int

i

Append [7/10]

Source code

public virtual ByteBuffer Append(long i)

Arguments

Type

Name

Description

long

i

Append [8/10]

Source code

public virtual ByteBuffer Append(byte b)

Arguments

Type

Name

Description

byte

b

AppendHex

Source code

public virtual ByteBuffer AppendHex(byte b)

Arguments

Type

Name

Description

byte

b

Append [9/10]

Source code

public virtual ByteBuffer Append(float i)

Arguments

Type

Name

Description

float

i

Append [10/10]

Source code

public virtual ByteBuffer Append(double d)

Arguments

Type

Name

Description

double

d

FormatDouble [1/2]

Source code

public static string FormatDouble(double d)

Arguments

Type

Name

Description

double

d

FormatDouble [2/2]

Source code

public static string FormatDouble(double d, ByteBuffer buf)

Arguments

Type

Name

Description

double

d

ByteBuffer

buf

Reset

Source code

public virtual void Reset()

ToByteArray

Source code

public virtual byte ToByteArray()

ToString

Source code

public override string ToString()

WriteTo

Source code

public virtual void WriteTo(Stream str)

Arguments

Type

Name

Description

Stream

str

Flush

Source code

public override void Flush()

Read

Source code

public override int Read(byte[] buffer, int offset, int count)

Arguments

Type

Name

Description

byte``[]

buffer

int

offset

int

count

Seek

Source code

public override long Seek(long offset, SeekOrigin origin)

Arguments

Type

Name

Description

long

offset

SeekOrigin

origin

SetLength

Source code

public override void SetLength(long value)

Arguments

Type

Name

Description

long

value

Write

Source code

public override void Write(byte[] buffer, int offset, int count)

Arguments

Type

Name

Description

byte``[]

buffer

int

offset

int

count

WriteByte

Source code

public override void WriteByte(byte value)

Arguments

Type

Name

Description

byte

value

Properties

Size

public virtual int Size { get; set; }

Buffer

public virtual byte Buffer { get; }

CanRead

public override bool CanRead { get; }

CanSeek

public override bool CanSeek { get; }

CanWrite

public override bool CanWrite { get; }

Length

public override long Length { get; }

Position

public override long Position { get; set; }

Generated with ModularDoc