@Authors(value="Nikolche Mihajlovski")
@Since(value="2.0.0")
public class BufRange
extends org.rapidoid.RapidoidThing
| Modifier and Type | Field and Description |
|---|---|
int |
length |
static BufRange |
NONE |
int |
start |
| Constructor and Description |
|---|
BufRange() |
BufRange(int start,
int length) |
| Modifier and Type | Method and Description |
|---|---|
void |
assign(BufRange range) |
long |
backup() |
byte[] |
bytes(Buf src) |
void |
ends(int endPos) |
static BufRange |
fromTo(int from,
int to) |
String |
get(String whole) |
boolean |
isEmpty() |
int |
last() |
int |
limit() |
BufRange |
reset() |
void |
restore(long backup) |
boolean |
sameAs(long backup) |
void |
set(int start,
int length) |
void |
setInterval(int start,
int limit) |
void |
starts(int startPos) |
String |
str(Buf buf) |
String |
str(Bytes bytes) |
void |
strip(int left,
int right) |
String |
toString() |
public static final BufRange NONE
public int start
public int length
public BufRange reset()
public int limit()
public int last()
public boolean isEmpty()
public void ends(int endPos)
public void starts(int startPos)
public void set(int start,
int length)
public void setInterval(int start,
int limit)
public byte[] bytes(Buf src)
public long backup()
public void restore(long backup)
public boolean sameAs(long backup)
public static BufRange fromTo(int from, int to)
public void assign(BufRange range)
public void strip(int left,
int right)
Copyright © 2014–2017 Nikolche Mihajlovski and contributors. All rights reserved.