-
Methods in one.microstream.bytes that return VarByte
Modifier and Type |
Method |
Description |
VarByte |
VarByte.add(boolean b) |
|
VarByte |
VarByte.add(byte c) |
|
VarByte |
VarByte.add(byte[] bytes) |
|
VarByte |
VarByte.add(double d) |
|
VarByte |
VarByte.add(float f) |
|
VarByte |
VarByte.add(int i) |
|
VarByte |
VarByte.add(long l) |
|
VarByte |
VarByte.add(short s) |
|
VarByte |
VarByte.add(String s) |
|
VarByte |
VarByte.add(VarByte varByte) |
|
VarByte |
VarByte.append(boolean value) |
|
VarByte |
VarByte.append(byte value) |
|
VarByte |
VarByte.append(byte[] bytes) |
|
VarByte |
VarByte.append(byte[] bytes,
int offset,
int length) |
|
VarByte |
VarByte.append(char value) |
|
VarByte |
VarByte.append(double value) |
|
VarByte |
VarByte.append(float value) |
|
VarByte |
VarByte.append(int value) |
|
VarByte |
VarByte.append(long value) |
|
VarByte |
VarByte.append(short value) |
|
VarByte |
VarByte.appendArray(byte... bytes) |
|
VarByte |
VarByte.apply(Consumer<? super VarByte> procedure) |
|
VarByte |
VarByte.clear() |
Only preferable to reset() for security reasons.
|
VarByte |
VarByte.deleteByteAt(int index) |
|
VarByte |
VarByte.deleteLast(int n) |
|
VarByte |
VarByte.deleteLastByte() |
|
static VarByte |
VarByte.New() |
|
static VarByte |
VarByte.New(int initialCapacity) |
Use this constructor only if really a specific size is needed or list of bytes to be handled is huge.
Otherwise, use the factory methods as they are faster due to skipping capacity checks and bounds adjustment.
|
VarByte |
VarByte.printlnTo(PrintStream printStream) |
|
VarByte |
VarByte.printTo(PrintStream printStream) |
|
VarByte |
VarByte.repeat(int amount,
byte b) |
|
VarByte |
VarByte.replaceFirst(byte sample,
byte replacement) |
|
VarByte |
VarByte.replaceFirst(int beginIndex,
byte sample,
byte replacement) |
|
VarByte |
VarByte.reset() |
|
VarByte |
VarByte.reverse() |
|
VarByte |
VarByte.setByte(int index,
byte c) |
|
VarByte |
VarByte.setBytes(int index,
byte... c) |
|
VarByte |
VarByte.setLastByte(byte c) |
|
VarByte |
VarByte.shrinkTo(int n) |
|
VarByte |
VarByte.subsequence(int beginIndex,
int endIndex) |
|
VarByte |
VarByte.subSequence(int start,
int end) |
|
VarByte |
VarByte.surrogateByteReverse() |
Deprecated.
|
-