public class Blob extends U8Vector implements Consumable, java.lang.CharSequence
empty
size
ATTRIBUTE_VALUE, BOOLEAN_VALUE, CDATA_VALUE, CHAR_VALUE, COMMENT_VALUE, DOCUMENT_VALUE, DOUBLE_VALUE, ELEMENT_VALUE, EOF_VALUE, eofValue, FLOAT_VALUE, INT_S16_VALUE, INT_S32_VALUE, INT_S64_VALUE, INT_S8_VALUE, INT_U16_VALUE, INT_U32_VALUE, INT_U64_VALUE, INT_U8_VALUE, OBJECT_VALUE, PRIM_VALUE, PROCESSING_INSTRUCTION_VALUE, TEXT_BYTE_VALUE
Constructor and Description |
---|
Blob(byte[] data) |
Blob(byte[] data,
java.nio.charset.Charset charset) |
Modifier and Type | Method and Description |
---|---|
U8Vector |
asPlainBytevector() |
char |
charAt(int index) |
void |
consume(Consumer out) |
int |
length() |
java.lang.CharSequence |
subSequence(int start,
int end) |
java.lang.String |
toString() |
static Blob |
wrap(byte[] data,
int size) |
compareTo, get, getBuffer, getElementKind, getTag, intAtBuffer, setBuffer, toUtf8
byteAt, byteAtBuffer, clearBuffer, consumePosRange, copyFrom, copyFrom, getBuffer, getBufferLength, getInputStream, readExternal, readFrom, setBufferLength, setByteAt, setByteAtBuffer, writeExternal, writeTo
add, add, addAll, addPos, checkCanWrite, clear, compareToInt, compareToLong, consume, fill, fill, fillPosRange, getNextKind, getPosNext, getRowMajor, intAt, isAfterPos, longAt, longAtBuffer, nextIndex, nextPos, remove, remove, removeAll, removePos, removePosRange, resizeShift, retainAll, set, setSize, shift, size, transpose
addAll, compare, compare, compare, consumeNext, contains, containsAll, copyPos, createPos, createRelativePos, elements, endPos, equals, equals, firstAttributePos, firstChildPos, firstChildPos, fromEndIndex, get, getAttribute, getAttributeLength, getContainingSequenceSize, getEffectiveIndex, getIndexDifference, getIterator, getIterator, getIteratorAtPos, getLowBound, getNextTypeName, getNextTypeObject, getPosPrevious, getSize, gotoAttributesStart, gotoChildrenStart, gotoParent, hashCode, hasNext, hasPrevious, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, nextIndex, nextMatching, parentPos, previousPos, rank, releasePos, set, setPosNext, setPosPrevious, stableCompare, startPos, subList, subSequence, subSequencePos, toArray, toArray, toString, unsupported, unsupportedException
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addAll, contains, containsAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, replaceAll, sort, spliterator, subList, toArray, toArray
get, getEffectiveIndex, getLowBound, getSize, isEmpty, rank, set
public Blob(byte[] data)
public Blob(byte[] data, java.nio.charset.Charset charset)
public static Blob wrap(byte[] data, int size)
public U8Vector asPlainBytevector()
public void consume(Consumer out)
consume
in interface Consumable
consume
in class AbstractSequence
public java.lang.String toString()
toString
in interface java.lang.CharSequence
toString
in class AbstractSequence
public char charAt(int index)
charAt
in interface java.lang.CharSequence
public int length()
length
in interface java.lang.CharSequence
public java.lang.CharSequence subSequence(int start, int end)
subSequence
in interface java.lang.CharSequence