File: huffman.rbs

package info (click to toggle)
ruby-http-2 1.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky
  • size: 13,360 kB
  • sloc: ruby: 6,031; makefile: 4
file content (25 lines) | stat: -rw-r--r-- 460 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
module HTTP2
  module Header
    module Huffman
      include Error
      extend PackingExtensions
      extend BufferUtils

      BITS_AT_ONCE: Integer

      EOS: Integer

      CODES: Array[[Integer, Integer]]

      ENCODE_TABLE: Array[String]

      MAX_FINAL_STATE: Integer

      MACHINE: Array[Array[[Integer?, Integer]]]

      def self?.encode: (String str, ?String buffer) -> String

      def self?.decode: (String str) -> String
    end
  end
end