SmfParseError Type
Errors surfaced by the SMF parser. Callers pattern-match for diagnostics.
Union cases
| Union case |
Description
|
Full Usage:
ArchiveNotFound path
Parameters:
string
|
The .sd7 file is missing from the filesystem.
|
Full Usage:
ExtractionFailed(archive, stderr)
Parameters:
string
stderr : string
|
bsdtar (or equivalent extractor) failed. stderr is attached.
|
Full Usage:
InvalidMagic actualHex
Parameters:
string
|
The .smf bytes did not start with the SMF magic header.
|
Full Usage:
NoSmfInArchive archive
Parameters:
string
|
The .sd7 extracted successfully but contained no .smf entry.
|
Full Usage:
Truncated(atOffset, expectedBytes, availableBytes)
Parameters:
int
expectedBytes : int
availableBytes : int
|
A size-field in the header pointed outside the byte buffer.
|
Full Usage:
UnsupportedVersion version
Parameters:
int
|
The .smf format version is newer than the parser supports.
|
Instance members
| Instance member |
Description
|
Full Usage:
this.IsArchiveNotFound
Returns: bool
|
|
Full Usage:
this.IsExtractionFailed
Returns: bool
|
|
Full Usage:
this.IsInvalidMagic
Returns: bool
|
|
Full Usage:
this.IsNoSmfInArchive
Returns: bool
|
|
Full Usage:
this.IsTruncated
Returns: bool
|
|
Full Usage:
this.IsUnsupportedVersion
Returns: bool
|
|
FSBarV1_Archived