public interface ByteProvider
| Modifier and Type | Method and Description |
|---|---|
byte |
at(long i) |
byte[] |
between(long start,
long end)
This method returns the chars between the given absolute positions.
|
boolean |
changed() |
long |
current()
This method returns the current positions.
|
void |
finish() |
boolean |
finished() |
boolean |
finished(int i) |
void |
forward(int i) |
byte |
lookahead() |
byte |
lookahead(int i) |
byte |
lookbehind() |
byte |
lookbehind(int i) |
void |
mark() |
void |
move(long i)
This method moves to the given absolute position.
|
byte |
next() |
byte |
prev() |
net.amygdalum.util.text.ByteString |
slice(long start,
long end)
This method returns the original String between the given absolute positions.
|
byte next()
byte lookahead()
byte lookahead(int i)
byte prev()
byte lookbehind()
byte lookbehind(int i)
long current()
void move(long i)
i - the position to movecurrent()byte[] between(long start,
long end)
start - the first positionend - the last position (exclusive)NegativeArraySizeException - if start is after end (which is not necessarily start < end)current()net.amygdalum.util.text.ByteString slice(long start,
long end)
start - the first positionend - the last position (exclusive)NegativeArraySizeException - if start is after end (which is not necessarily start < end)void forward(int i)
void finish()
boolean finished()
boolean finished(int i)
byte at(long i)
void mark()
boolean changed()
Copyright © 2017. All rights reserved.