public class ByteBuffer extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
count |
Constructor and Description |
---|
ByteBuffer() |
ByteBuffer(int size) |
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
append(byte b) |
ByteBuffer |
append(byte[] b) |
ByteBuffer |
append(byte[] b, int off, int len) |
ByteBuffer |
append(int b) |
ByteBuffer |
append(String str) |
ByteBuffer |
appendHex(byte b) |
int |
capacity() |
byte |
get(int index) |
static int |
getHex(int v) |
byte[] |
getInternalBuffer() |
boolean |
isEmpty() |
ByteBuffer |
reset() |
int |
size() |
boolean |
startsWith(byte[] b) |
byte[] |
toByteArray() |
byte[] |
toByteArray(int off, int len) |
public static int getHex(int v)
public ByteBuffer append(byte b)
public ByteBuffer append(byte[] b, int off, int len)
public ByteBuffer append(byte[] b)
public ByteBuffer append(int b)
public ByteBuffer append(String str)
public ByteBuffer appendHex(byte b)
public byte get(int index)
public byte[] getInternalBuffer()
public int size()
public boolean isEmpty()
public int capacity()
public ByteBuffer reset()
public byte[] toByteArray(int off, int len)
public byte[] toByteArray()
public boolean startsWith(byte[] b)
Copyright © 1998–2022 iText Group NV. All rights reserved.