-
interface
Defines the read-only API for relative positional access to a resource.
interface
Defines the read-only API for offset access to a resource.
interface
Defines the writable API for relative positional access to a resource
interface
Defines the writable API for offset access to a resource.
boolean
Resource.equalTo(long thisOffsetBytes,
Resource that,
long thatOffsetBytes,
long lengthBytes)
Returns true if the given object is an instance of this class and has equal contents to
this object in the given range of bytes.
default boolean
Returns true if the given object is an instance of this class and has equal contents to
this object.
long
Gets the relative base offset of this with respect to that, defined as: this - that.
boolean
Returns true if the underlying resource is the same underlying resource as that.
long
long
Returns a positive number if this overlaps that and this base address is ≤ that
base address.