public interface IBufferRange
Modifier and Type | Method and Description |
---|---|
int |
getLength()
Get length of the target content.
|
int |
getStart()
Get start position of the target content in buffer.
|
void |
reset()
Reset start position and length to zero.
|
void |
setLength(int length)
Set length of the target content.
|
void |
setStart(int start)
Set start position of the target content in the buffer.
|
void reset()
void setStart(int start)
start
- start positionvoid setLength(int length)
length
- lengthint getStart()
int getLength()