diff --git a/Sources/Common/CodingTree/CodeLength.swift b/Sources/Common/CodingTree/CodeLength.swift index 74ca92f7..6d149758 100644 --- a/Sources/Common/CodingTree/CodeLength.swift +++ b/Sources/Common/CodingTree/CodeLength.swift @@ -10,25 +10,6 @@ struct CodeLength: Equatable { let symbol: Int let codeLength: Int - static func lengths(from bootstrap: [(symbol: Int, codeLength: Int)]) -> [CodeLength] { - // Fills the 'lengths' array with pairs of (symbol, codeLength) from a 'bootstrap'. - var lengths = [CodeLength]() - var start = bootstrap[0].symbol - var bits = bootstrap[0].codeLength - for pair in bootstrap[1.. 0 { - for i in start..