Repository navigation
Releases
Releases · IOExtend/PlaIO
v0.1.0
Added
PlaFile.DetectKindtells the container shared by.plaand.plnfiles (ROF FDB) and.bimxfiles (BIMx)
apart by their first bytes.PlaDocumentopens a.plaor.plnfile or a seekable stream without loading the whole file. It exposes the length,
the header (FdbHeader: layout version, format version, the raw field at offset 12 and the first 64 raw bytes) and the
BLandDYblocks found by scanning from offset 32 (PlaBlock: offset, tag, id, kind, version, flags, size class,
mode, GUID, packed and unpacked size, extra field, payload offset).PlaDocument.ReadPayloaddecodes payloads stored raw (mode 0) or with zero masks (mode 1). Mode 2 (LZ) is recognised
and reported withNotSupportedException; a payload that does not decode to its declared size, or a cut file, is
reported withInvalidDataException.PlaDocument.FindDirectoriessearches raw blocks for object directories of 30-byte records (ObjectDirectoryRecord:
class number, position, count, object GUID) and reports how the records abut, overlap or repeat a position
(ObjectDirectory). The meaning of position and count and the names of the classes are not known.BimxDocumentopens a.bimxfile or a seekable stream, measures the PNG cover image that follows the signature,
reads it withReadCover(up to 64 MiB) and reports where the rest of the content begins. That content is not
interpreted.- The
plaiocommand line tool (packagePlaIO.Cli) with the commandsinfo,blocksanddirectory, JSON output of
the directory records withdirectory --out, and the exit codes 0 (done), 1 (usage error) and 2 (input or output
cannot be used). - Targets .NET 8 and .NET 10, with no package dependencies. The library never writes to the console.