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 PlaBlockInheritance
Inherited Members
Properties
End
File offset just past the payload.
public long End { get; }Property Value
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
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
Id
The u32 at +2, raw; meaning not documented.
public uint Id { get; }Property Value
Kind
The u16 at +6, raw; meaning not documented.
public ushort Kind { get; }Property Value
Mode
The payload storage mode.
public PlaBlockMode Mode { get; }Property Value
Offset
File offset of the block header.
public long Offset { get; }Property Value
PackedSize
Size of the stored payload in bytes.
public long PackedSize { get; }Property Value
PayloadOffset
File offset of the payload.
public long PayloadOffset { get; }Property Value
SizeClass
The size class, Flags & 0xF; it matches PlaIO.PlaBlock.PackedSize.
public int SizeClass { get; }Property Value
Tag
"BL" or "DY".
public string Tag { get; }Property Value
UnpackedSize
Size of the decoded payload in bytes; equals PlaIO.PlaBlock.PackedSize for PlaIO.PlaBlockMode.Raw.
public long UnpackedSize { get; }Property Value
Version
The byte at +8: 0 or 1.
public byte Version { get; }