OLEKit Documentation

Enumeration OLEError

public enum OLEError: Error, Equatable, CustomStringConvertible  
%7 OLEError OLEError Error Error OLEError->Error Equatable Equatable OLEError->Equatable CustomStringConvertible CustomStringConvertible OLEError->CustomStringConvertible

Conforms To

CustomStringConvertible
Equatable
Error

Enumeration Cases

incorrect​CLSID

case incorrectCLSID

incomplete​Header

case incompleteHeader

duplicate​Root​Entry

case duplicateRootEntry

invalid​Empty​Stream

case invalidEmptyStream

big​Endian​Not​Supported

case bigEndianNotSupported

file​IsNot​OLE

case fileIsNotOLE(String) 

file​Does​Not​Exist

case fileDoesNotExist(String) 

incorrect​Header​Reserved​Bytes

case incorrectHeaderReservedBytes

incorrect​Storage​Type

case incorrectStorageType(actual: UInt8) 

invalid​FATSector

case invalidFATSector(byteOffset: UInt64) 

incorrect​Root​Entry

case incorrectRootEntry(actual: StorageType) 

directory​Entry​IsNot​AStream

case directoryEntryIsNotAStream(name: String) 

file​Not​Available​For​Reading

case fileNotAvailableForReading(path: String) 

incorrect​Directory​Entry​Color

case incorrectDirectoryEntryColor(actual: UInt8) 

stream​Too​Large

case streamTooLarge(actual: UInt64, expected: Int) 

invalid​OLEStream​Sector​ID

case invalidOLEStreamSectorID(id: UInt32, total: Int) 

sector​Index​InDIFATOOB

case sectorIndexInDIFATOOB(actual: UInt32, expected: Int) 

incorrect​Sector​Size

case incorrectSectorSize(actual: UInt16, expected: UInt16) 

directory​Entry​Index​OOB

case directoryEntryIndexOOB(actual: UInt32, expected: Int) 

incorrect​DLLVersion

case incorrectDLLVersion(actual: UInt16, expected: [UInt16]) 

incorrect​Mini​Sector​Size

case incorrectMiniSectorSize(actual: UInt16, expected: UInt16) 

incorrect​Number​OfFATSectors

case incorrectNumberOfFATSectors(actual: UInt32, expected: UInt32) 

incorrect​Number​OFDIFATSectors

case incorrectNumberOFDIFATSectors(actual: UInt32, expected: UInt32) 

incorrect​Mini​Stream​Cutoff​Size

case incorrectMiniStreamCutoffSize(actual: UInt32, expected: UInt32) 

incomplete​Stream

case incompleteStream(firstSectorID: UInt32, actual: Int, expected: UInt64) 

incorrect​Number​OfDirectory​Sectors

case incorrectNumberOfDirectorySectors(actual: UInt32, expected: UInt32) 

Properties

description

public var description: String