1# Feed this file to script/make-artificial.go 2 3make deflate 4 5blockFixedHuffman (final) { 6 # Make 16 + 126*258 + 244 = 32768 bytes: 7 # abcdefgh0123456701234567...01234567 8 literal "abcdefgh01234567" 9 repeat 126 [ 10 len 258 dist 8 11 ] 12 len 244 dist 8 13 14 # Copy "abc". 15 len 3 dist 32768 16 17 # Copy "012". 18 len 3 dist 35 19 20 # Copy "gh0". 21 len 3 dist 32768 22 23 # Copy "2345". 24 len 4 dist 32767 25 26 endOfBlock 27} 28 29# The decompressed data is 32768 + 3 + 3 + 3 + 4 = 32781 bytes: 30# abcdefgh0123456701234567...01234567abc012gh02345 31