(length: number)
| 721 | } |
| 722 | |
| 723 | private static _lCode(length: number): number { |
| 724 | if (length === 255) { |
| 725 | return 285; |
| 726 | } |
| 727 | |
| 728 | let code = 257; |
| 729 | while (length >= 8) { |
| 730 | code += 4; |
| 731 | length = length >> 1; |
| 732 | } |
| 733 | return code + length; |
| 734 | } |
| 735 | |
| 736 | private static _dCode(distance: number): number { |
| 737 | let code = 0; |
no outgoing calls
no test coverage detected