Table of Contents

Class PlaBlock

Namespace
PlaIO
Assembly
PlaIO.dll

One block of the index: header fields as stored, plus where the payload lies. Fields whose meaning is not documented (PlaIO.PlaBlock.Id, PlaIO.PlaBlock.Kind, PlaIO.PlaBlock.Extra, flag 0x10) are exposed raw.

public sealed class PlaBlock

Inheritance

Inherited Members

Properties

End

File offset just past the payload.

public long End { get; }

Property Value

long

Extra

The u32 stored when flag 0x400 is set, raw; meaning not documented.

public uint? Extra { get; }

Property Value

uint?

Flags

The u16 at +9, raw, including bits whose meaning is not documented.

public ushort Flags { get; }

Property Value

ushort

Guid

The GUID stored when flag 0x20 is set.

public Guid? Guid { get; }

Property Value

Guid?

HeaderLength

Length of the block header in bytes.

public int HeaderLength { get; }

Property Value

int

Id

The u32 at +2, raw; meaning not documented.

public uint Id { get; }

Property Value

uint

Kind

The u16 at +6, raw; meaning not documented.

public ushort Kind { get; }

Property Value

ushort

Mode

The payload storage mode.

public PlaBlockMode Mode { get; }

Property Value

PlaBlockMode

Offset

File offset of the block header.

public long Offset { get; }

Property Value

long

PackedSize

Size of the stored payload in bytes.

public long PackedSize { get; }

Property Value

long

PayloadOffset

File offset of the payload.

public long PayloadOffset { get; }

Property Value

long

SizeClass

The size class, Flags & 0xF; it matches PlaIO.PlaBlock.PackedSize.

public int SizeClass { get; }

Property Value

int

Tag

"BL" or "DY".

public string Tag { get; }

Property Value

string

UnpackedSize

Size of the decoded payload in bytes; equals PlaIO.PlaBlock.PackedSize for PlaIO.PlaBlockMode.Raw.

public long UnpackedSize { get; }

Property Value

long

Version

The byte at +8: 0 or 1.

public byte Version { get; }

Property Value

byte