C# Класс iTextSharp.xmp.impl.ByteBuffer

Byte buffer container including length of valid data. @since 11.10.2006
Показать файл Открыть проект

Открытые методы

Метод Описание
Append ( ByteBuffer anotherBuffer ) : void

Append another buffer to this buffer.

Append ( byte b ) : void

Appends a byte to the buffer.

Append ( byte bytes, int offset, int len ) : void

Appends a byte array or part of to the buffer.

ByteAt ( int index ) : byte
ByteBuffer ( Stream inp ) : System

Loads the stream into a buffer.

ByteBuffer ( byte buffer ) : System
ByteBuffer ( byte buffer, int length ) : System
ByteBuffer ( byte buffer, int offset, int length ) : System
ByteBuffer ( int initialCapacity ) : System
CharAt ( int index ) : int

Приватные методы

Метод Описание
EnsureCapacity ( int requestedLength ) : void

Ensures the requested capacity by increasing the buffer size when the current length is exceeded.

Описание методов

Append() публичный Метод

Append another buffer to this buffer.
public Append ( ByteBuffer anotherBuffer ) : void
anotherBuffer ByteBuffer another ByteBuffer
Результат void

Append() публичный Метод

Appends a byte to the buffer.
public Append ( byte b ) : void
b byte a byte
Результат void

Append() публичный Метод

Appends a byte array or part of to the buffer.
public Append ( byte bytes, int offset, int len ) : void
bytes byte a byte array
offset int an offset with
len int
Результат void

ByteAt() публичный Метод

public ByteAt ( int index ) : byte
index int the index to retrieve the byte from
Результат byte

ByteBuffer() публичный Метод

Loads the stream into a buffer.
If the stream cannot be read.
public ByteBuffer ( Stream inp ) : System
inp Stream
Результат System

ByteBuffer() публичный Метод

public ByteBuffer ( byte buffer ) : System
buffer byte a byte array that will be wrapped with ByteBuffer.
Результат System

ByteBuffer() публичный Метод

public ByteBuffer ( byte buffer, int length ) : System
buffer byte a byte array that will be wrapped with ByteBuffer.
length int the length of valid bytes in the array
Результат System

ByteBuffer() публичный Метод

public ByteBuffer ( byte buffer, int offset, int length ) : System
buffer byte a byte array that will be wrapped with ByteBuffer.
offset int the offset of the provided buffer.
length int the length of valid bytes in the array
Результат System

ByteBuffer() публичный Метод

public ByteBuffer ( int initialCapacity ) : System
initialCapacity int the initial capacity for this buffer
Результат System

CharAt() публичный Метод

public CharAt ( int index ) : int
index int the index to retrieve a byte as int or char.
Результат int