mirror of
https://github.com/tsolomko/SWCompression.git
synced 2026-06-23 14:56:41 +00:00
Removed description from BLDCode.
This commit is contained in:
+1
-11
@@ -426,19 +426,9 @@ public class Deflate: DecompressionAlgorithm {
|
||||
|
||||
}
|
||||
|
||||
private enum BLDCode: CustomStringConvertible {
|
||||
private enum BLDCode {
|
||||
case byte(UInt8)
|
||||
case lengthDistance(LengthDistance)
|
||||
|
||||
var description: String {
|
||||
switch self {
|
||||
case .byte(let byte):
|
||||
return "raw symbol: \(byte)"
|
||||
case .lengthDistance(let ld):
|
||||
return "length: \(ld.length), length symbol: \(ld.lengthSymbol), " +
|
||||
"distance: \(ld.distance), distance symbol: \(ld.distanceSymbol)"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private static func lengthEncode(_ rawBytes: [UInt8]) -> (codes: [BLDCode], stats: [Int]) {
|
||||
|
||||
Reference in New Issue
Block a user