Enumerationswift-png 4.4.5LZ77
StreamHeaderError
Errors that can occur when decompressing a DEFLATE stream embedded in the ‘zlib’ wrapper format.
LZ77.StreamHeaderError.swift:6enum StreamHeaderError
Cases
case invalidCompressionMethod(UInt8)
A compressed data stream had an invalid compression method code.
case invalidWindowSize(exponent: Int)
A compressed data stream specified an invalid window size.
case invalidCheckBits
A compressed data stream had invalid header check bits.
case unexpectedDictionary
A compressed data stream contains a stream dictionary, which is not allowed in a compressed PNG data stream.
Other members in extension
Types
enum DecompressionError
A decompression error.
struct Deflator
enum Format
struct Inflator
struct InflatorIn
Typealiases
Show obsolete interfaces (1)
Hide obsolete interfaces
Citizens in LZ77
Conformances
protocol Equatable
A type that can be compared for value equality.
protocol Error
A type representing an error value that can be thrown.
protocol Sendable
A type whose values can safely be passed across concurrency domains by copying.
Type features
static func != (lhs: Self, rhs: Self
) -> Bool Returns a Boolean value indicating whether two values are not equal.
Available in PNG
Conformances
protocol Error
Functionality common to all library error types.
Type members
static var namespace: String
The string
"Stream header error"
.
Instance members
var details: String?
An optional human-readable string providing additional details about this error.
var message: String
Instance features
var fatal: Never
Halts execution by converting this error into a fatal error.