TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

struct BlockInfo in Tinman.Core.Database

Describes a single storage block of a BlockStorage object.

struct BlockInfo implements IEquatable<BlockInfo>

Remarks

Storage block information is exposed purely for informational purposes.

Public / Attributes

End

Absolute offset of block end.

public property End { get }
type int64
value The block end offset (exclusive).

Free

Is this block free (true) or does it represent an allocation (false)?

public readonly field Free
type bool

IsLast

Is this the last block?

public property IsLast { get }
type bool
value true if this is the last block, false if not.

Size

Size of the block, in bytes.

public readonly field Size
type int64

Start

Absolute offset of block start (inclusive).

public readonly field Start
type int64

Public / Methods

Contains

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.

Equals

public method Equals (BlockInfo other)
type bool
params other

ToString

public override method ToString ()
type string