static boolean |
BytesUtil.containsAt(Bytes bytes,
BufRange target,
int offset,
byte[] match,
boolean caseSensitive) |
static int |
BytesUtil.find(Bytes bytes,
int start,
int limit,
byte[] match,
boolean caseSensitive) |
static int |
BytesUtil.find(Bytes bytes,
int start,
int limit,
byte[] match,
int offset,
int length,
boolean caseSensitive) |
static int |
BytesUtil.find(Bytes bytes,
int start,
int limit,
byte match,
boolean caseSensitive) |
static String |
BytesUtil.get(Bytes bytes,
BufRange range) |
static BufRange |
BytesUtil.getByPrefix(Bytes bytes,
BufRanges ranges,
byte[] prefix,
boolean caseSensitive) |
static byte[] |
BytesUtil.getBytes(Bytes bytes,
BufRange range) |
static int |
BytesUtil.getIntPrefixOf(Bytes bytes,
int position,
int limit) |
static boolean |
BytesUtil.isValidURI(Bytes bytes,
BufRange uri) |
static boolean |
BytesUtil.match(Bytes bytes,
int start,
byte[] match,
boolean caseSensitive) |
static boolean |
BytesUtil.match(Bytes bytes,
int start,
byte[] match,
int offset,
int length,
boolean caseSensitive) |
static boolean |
BytesUtil.matches(Bytes bytes,
BufRange target,
byte[] match,
boolean caseSensitive) |
static boolean |
BytesUtil.matchNoCase(Bytes bytes,
int start,
byte[] match,
int offset,
int length) |
static boolean |
BytesUtil.matchSensitive(Bytes bytes,
int start,
byte[] match,
int offset,
int length) |
static int |
BytesUtil.parseLine(Bytes bytes,
BufRange line,
int start,
int limit) |
static int |
BytesUtil.parseLines(Bytes bytes,
BufRanges lines,
int start,
int limit) |
static int |
BytesUtil.parseLines(Bytes bytes,
BufRanges lines,
org.rapidoid.wrap.IntWrap res,
int start,
int limit,
byte end1,
byte end2) |
static int |
BytesUtil.scan(Bytes bytes,
int from,
int to,
byte value) |
static int |
BytesUtil.scanLnAndMatchPrefix(Bytes bytes,
BufRange result,
int fromPos,
int toPos,
int 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 int |
BytesUtil.scanNoCase(Bytes bytes,
int from,
int to,
byte value) |
static int |
BytesUtil.scanUntilAndMatchPrefix(Bytes bytes,
BufRange result,
byte separator,
int fromPos,
int toPos,
int 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,
BufRange target,
byte sep,
BufRange before,
BufRange after,
boolean trimParts) |
static boolean |
BytesUtil.startsWith(Bytes bytes,
BufRange target,
byte[] match,
boolean caseSensitive) |
static void |
BytesUtil.trim(Bytes bytes,
BufRange target) |