| Package | Description |
|---|---|
| org.rapidoidx.buffer | |
| org.rapidoidx.bytes | |
| org.rapidoidx.data |
| Modifier and Type | Method and Description |
|---|---|
String |
Buf.get(Range range) |
String |
SynchronizedBuf.get(Range range) |
String |
MultiBuf.get(Range range) |
void |
Buf.get(Range range,
byte[] dest,
int offset) |
void |
SynchronizedBuf.get(Range range,
byte[] dest,
int offset) |
void |
MultiBuf.get(Range range,
byte[] dest,
int offset) |
byte[] |
Buf.getBytes(Range range) |
byte[] |
SynchronizedBuf.getBytes(Range range) |
byte[] |
MultiBuf.getBytes(Range range) |
long |
Buf.getN(Range range) |
long |
SynchronizedBuf.getN(Range range) |
long |
MultiBuf.getN(Range range) |
void |
Buf.scanLn(Range range) |
void |
SynchronizedBuf.scanLn(Range range) |
void |
MultiBuf.scanLn(Range line) |
void |
Buf.scanN(long count,
Range range) |
void |
SynchronizedBuf.scanN(long count,
Range range) |
void |
MultiBuf.scanN(long count,
Range range) |
long |
Buf.scanTo(byte sep1,
byte sep2,
Range range,
boolean failOnLimit) |
long |
SynchronizedBuf.scanTo(byte sep1,
byte sep2,
Range range,
boolean failOnLimit) |
long |
MultiBuf.scanTo(byte sep1,
byte sep2,
Range range,
boolean failOnLimit) |
void |
Buf.scanTo(byte sep,
Range range,
boolean failOnLimit) |
void |
SynchronizedBuf.scanTo(byte sep,
Range range,
boolean failOnLimit) |
void |
MultiBuf.scanTo(byte sep,
Range range,
boolean failOnLimit) |
void |
Buf.scanUntil(byte value,
Range range) |
void |
SynchronizedBuf.scanUntil(byte value,
Range range) |
void |
MultiBuf.scanUntil(byte value,
Range range) |
void |
Buf.scanWhile(byte value,
Range range) |
void |
SynchronizedBuf.scanWhile(byte value,
Range range) |
void |
MultiBuf.scanWhile(byte value,
Range range) |
void |
Buf.upto(byte value,
Range range) |
void |
SynchronizedBuf.upto(byte value,
Range range) |
void |
MultiBuf.upto(byte value,
Range range) |
| Modifier and Type | Method and Description |
|---|---|
static Range |
BytesUtil.getByPrefix(Bytes bytes,
Ranges ranges,
byte[] prefix,
boolean caseSensitive) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
BytesUtil.containsAt(Bytes bytes,
Range target,
long offset,
byte[] match,
boolean caseSensitive) |
static String |
BytesUtil.get(Bytes bytes,
Range range) |
static byte[] |
BytesUtil.getBytes(Bytes bytes,
Range range) |
static boolean |
BytesUtil.matches(Bytes bytes,
Range target,
byte[] match,
boolean caseSensitive) |
static long |
BytesUtil.parseLine(Bytes bytes,
Range line,
long start,
long limit) |
static long |
BytesUtil.scanLnAndMatchPrefix(Bytes bytes,
Range result,
long fromPos,
long toPos,
long searchPrefix)
Scans the buffer until a line separator (CRLF or LF) is found, and matches the 4-byte prefix of the scanned
selection against the specified search prefix.
|
static long |
BytesUtil.scanUntilAndMatchPrefix(Bytes bytes,
Range result,
byte separator,
long fromPos,
long toPos,
long searchPrefix)
Scans the buffer until the specified separator is found, and matches the 4-byte prefix of the scanned selection
against the specified search prefix.
|
static boolean |
BytesUtil.split(Bytes bytes,
Range target,
byte sep,
Range before,
Range after,
boolean trimParts) |
static boolean |
BytesUtil.startsWith(Bytes bytes,
Range target,
byte[] match,
boolean caseSensitive) |
static void |
BytesUtil.trim(Bytes bytes,
Range target) |
| Modifier and Type | Field and Description |
|---|---|
Range[] |
KeyValueRanges.keys |
static Range |
Range.NONE |
Range[] |
Ranges.ranges |
Range[] |
KeyValueRanges.values |
| Modifier and Type | Method and Description |
|---|---|
Range |
Ranges.first() |
static Range |
Range.fromTo(long from,
long to) |
Range |
KeyValueRanges.get(Buf buf,
byte[] key,
boolean caseSensitive) |
Range |
Ranges.get(int index) |
Range |
Ranges.getByPrefix(Bytes bytes,
byte[] prefix,
boolean caseSensitive) |
Range |
Ranges.last() |
Range |
Data.range() |
Range |
Range.reset() |
| Modifier and Type | Method and Description |
|---|---|
void |
Range.assign(Range range) |
Copyright © 2014–2015 Nikolche Mihajlovski and contributors. All rights reserved.