| 构造器和说明 |
|---|
ResourceRegion(Resource resource,
long position,
long count)
Create a new
ResourceRegion from a given Resource. |
| 限定符和类型 | 方法和说明 |
|---|---|
long |
getCount()
Return the byte count of this region in the underlying
Resource. |
long |
getPosition()
Return the start position of this region in the underlying
Resource. |
Resource |
getResource()
Return the underlying
Resource for this ResourceRegion. |
public ResourceRegion(Resource resource, long position, long count)
ResourceRegion from a given Resource.
This region of a resource is represented by a start position
and a byte count within the given Resource.resource - a Resourceposition - the start position of the region in that resourcecount - the byte count of the region in that resourceCopyright © 2020. All rights reserved.