public class Blob extends U8Vector implements Consumable, java.lang.CharSequence
emptysizeATTRIBUTE_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, toUtf8byteAt, byteAtBuffer, clearBuffer, consumePosRange, copyFrom, copyFrom, getBuffer, getBufferLength, getInputStream, readExternal, readFrom, setBufferLength, setByteAt, setByteAtBuffer, writeExternal, writeToadd, 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, transposeaddAll, 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, unsupportedExceptionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddAll, contains, containsAll, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, replaceAll, sort, spliterator, subList, toArray, toArrayget, getEffectiveIndex, getLowBound, getSize, isEmpty, rank, setpublic 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 Consumableconsume in class AbstractSequencepublic java.lang.String toString()
toString in interface java.lang.CharSequencetoString in class AbstractSequencepublic char charAt(int index)
charAt in interface java.lang.CharSequencepublic int length()
length in interface java.lang.CharSequencepublic java.lang.CharSequence subSequence(int start,
int end)
subSequence in interface java.lang.CharSequence