org.mozilla.pluglet.mozilla
Interface ByteRanges
- public interface ByteRanges
This interface is for setting up a range of bytes.
|
Method Summary |
void |
addRange(int offset,
int length)
Sets a range of bytes, given an offset and a length. |
addRange
public void addRange(int offset,
int length)
- Sets a range of bytes, given an offset and a length. If offset is negative,
then the offset is from the end.
- Parameters:
offset - This is the offset for the range of bytes -- from the
beginning if offset is positive, from the end if offset is negative.length - This is the length of the range of bytes; i.e., the number
of bytes.