Describes a single storage block of a BlockStorage object.
struct
|
BlockInfo
|
implements
|
IEquatable<BlockInfo>
|
Storage block information is exposed purely for informational purposes.
Absolute offset of block end.
public
property
|
End
{
get
}
|
||
type
|
int64
|
||
value
|
The block end offset (exclusive). |
Is
this
block
free
(true
)
or
does
it
represent
an
allocation
(false
)?
public
readonly
field
|
Free
|
||
type
|
bool
|
Is this the last block?
public
property
|
IsLast
{
get
}
|
||
type
|
bool
|
||
value
|
true
if
this
is
the
last
block,
false
if
not. |
Size of the block, in bytes.
public
readonly
field
|
Size
|
||
type
|
int64
|
Absolute offset of block start (inclusive).
public
readonly
field
|
Start
|
||
type
|
int64
|
Does this block contain the given range?
public
method
|
Contains
(int64 offset,
int64 count)
|
||
type
|
bool
|
||
params
|
offset
|
Offset of range start (inclusive). | |
count
|
Length of range, in bytes. | ||
returns
|
true
if
the
given
range
is
contained
in
this
block,
false
if
not.
|
public
method
|
Equals
(BlockInfo other)
|
||
type
|
bool
|
||
params
|
other
|
public
override
method
|
ToString
()
|
||
type
|
string
|