Copy/paste zlib code from std/flate to std/zlib

This commit is contained in:
Nigel Tao committed 2017-12-03 13:32:42 +11:00
1 parent 0a32c01014
commit 6913a1ff00
6 files changed
+489 -6

No files matched your search

+1 -1
View File
@@ -33,7 +33,7 @@ pub error "bad distance"
pub error "bad distance code count"
pub error "bad flate block"
pub error "bad literal/length code count"
pub error "checksum mismatch"
pub error "checksum mismatch" // TODO: delete this.
pub error "inconsistent stored block length"
pub error "internal error: inconsistent Huffman decoder state"
pub error "internal error: inconsistent Huffman end_of_block"
+2
View File
@@ -12,6 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
// TODO: delete this file. Its contents have been copy/pasted to std/zlib.
pub error "invalid zlib compression method"
pub error "invalid zlib compression window size"
pub error "invalid zlib parity check"