public static class ByteSource.ByteRange extends Object
| Constructor and Description |
|---|
ByteRange(int startIndex) |
ByteRange(int startIndex,
int endIndex) |
| Modifier and Type | Method and Description |
|---|---|
int |
end()
Returns end index of this
ByteRange |
void |
end(int endIndex)
Sets the end index to the given value
|
boolean |
isNull()
Checks if the start index and end index are same.
|
int |
length()
Returns length of this
ByteRange |
int |
start()
Returns start index of the
ByteRange |
public ByteRange(int startIndex)
public ByteRange(int startIndex,
int endIndex)
public int start()
ByteRangepublic int end()
ByteRangepublic void end(int endIndex)
endIndex - endIndexpublic int length()
ByteRangepublic boolean isNull()
Copyright © 2019. All rights reserved.