| Package | Description |
|---|---|
| one.microstream.bytes | |
| one.microstream.chars |
| Modifier and Type | Method and 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 of the text to be handled is really big.
Otherwise, use the factory methods as they are faster due to skipping capacity checks and bounds adjustment. |
VarByte |
VarByte.printlnTo(PrintStream printStream)
Passes a copy of the internal byte array to the
PrintStream.println(String) method of the passed
PrintStream instance. |
VarByte |
VarByte.printTo(PrintStream printStream)
Passes a copy of the internal byte array to the
PrintStream.print(String) method of the passed
PrintStream instance. |
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.
not implemented yet. Currently just does
reverse(). |
| Modifier and Type | Method and Description |
|---|---|
VarByte |
VarByte.add(VarByte varByte) |
static boolean |
VarByte.hasContent(VarByte varByte) |
static boolean |
VarByte.hasNoContent(VarByte varByte) |
| Modifier and Type | Method and Description |
|---|---|
VarByte |
VarByte.apply(Consumer<? super VarByte> procedure) |
| Modifier and Type | Method and Description |
|---|---|
static VarByte |
XChars.readAllBytesFromInputStream(InputStream inputStream) |
static VarByte |
XChars.readAllBytesFromInputStream(VarByte bytes,
InputStream inputStream) |
| Modifier and Type | Method and Description |
|---|---|
static VarByte |
XChars.readAllBytesFromInputStream(VarByte bytes,
InputStream inputStream) |
Copyright © 2022 MicroStream Software. All rights reserved.